
14 Jun
2007
14 Jun
'07
3:57 p.m.
Arkadiy Vertleyb wrote:
I did not suggest that C++ standard should be fixed to make the Typeof library 100% compliant ;-)
My point was to mention the technique used; this technique (generating template specializations on demand, and maybe using preprocessor counter to give them unique numbers) might be useful in other contexts...
Or it might be not.
I've used this technique a handful of times before, and each time I've decided that what I did was an awful hack, never to be repeated. Your mileage may vary :) - Doug