Boost logo

Boost :

From: Paul Mensonides (pmenso57_at_[hidden])
Date: 2004-08-14 15:06:26

> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]] 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.

Paul Mensonides

Boost list run by bdawes at, gregod at, cpdaniel at, john at