
20 Oct
2011
20 Oct
'11
8:27 a.m.
On 10/20/2011 09:43 AM, Robert Ramey wrote:
I realize that this is whole different kettle of fixh than BOOST_STRONG_TYPE or OPAQUE_TYPE. So this might be considered off topic. or maybe not.
How is it not exactly the same thing? You want to create a new type that, for all practical purposes, is the same as the original one, but that can be specialized and overloaded on.
Comments welcome. Also anyone can feel free to correct my understanding of the template alias feature of C++0x to create new types.
The point of template alias is indeed to create an alias, not a new type. It has nothing to do with a so-called "strong typedef".