From: Douglas Gregor (dgregor_at_[hidden])
Date: 2007-06-14 11:57:30
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 :)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk