
21 Jan
2009
21 Jan
'09
2:31 p.m.
Hicham Mouline a écrit :
That is a beautiful trick. The sizeof trick basically. "C++ template metaprogramming" p212
As Joel says in that post, it should definitely be included in standard boost. Perhaps in the type traits library?
thank you,
There is a set of macro that I uploaded in the Vault under the name 'introspection' IIRC that contaisn such macros. It's still incomplete but works for common case. I have to ironing out for Visual and stome other quirky compiler. -- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35