
14 Jun
2007
14 Jun
'07
4:03 p.m.
"Douglas Gregor" <dgregor@osl.iu.edu> wrote
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 :)
So you applied it the first time, decided that it was "never to be repeated", and stll used it a few more times ;-) Or am I missing your point? Regards, Arkadiy