
14 Aug
2004
14 Aug
'04
8:06 p.m.
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Christoph Ludwig
Wow. I am always surprised what you can achieve with some template metaprogramming. And I consider your example particularly elegant because a user can ignore the machinery unless the naive approach fails. Very neat!
Note, BTW, that unpacking the type inside the macro introduces a dependency with 'typename' if the resulting type is dependent.
Thanks for writing it down!
You're welcome. Regards, Paul Mensonides