|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-01-06 23:45:25
Howard Hinnant <hinnant_at_[hidden]> writes:
> On Monday, January 6, 2003, at 06:50 PM, David Abrahams wrote:
>
> Or maybe even just:
>
> template <class T>
> struct my_container
> : if_<is_POD<T>::value, impl1, impl2>::type
^^^^^^^
you'd have to drop that part (yes, it's magic <wink>).
> {
> ...
> };
>
OK, yeah, that has promise.
-- David Abrahams dave_at_[hidden] * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk