On 05/28/2013 08:56 AM, Ali Çehreli wrote: > That is a difficult situation to manage though: What operations are valid > under > the 8 total mutable combinations of 3 members? The compiler must know what > operations to be applied on what type of data so that it can both check the > code > and compile it accordingly. > > To have such a flexibility, the type must be templatized.
... which is what I imagined; I wasn't certain, though, whether it was possible to templatize purely relative to type qualifiers, though I guessed not.