Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2001-04-30 06:34:22


>Thus, for the above example to work, you need to add
>
>#ifndef BOOST_NO_INCLASS_MEMBER_INITIALIZATION
>template<class T>
>const bool X<T>::value;
>#endif
>
>to your source code.

I thought you only needed that if the value was used in a way that causes
it's address to be taken (issue 48).

If we really do need to add all these, do we need to add a definition for
every full and partial specialiation as well (full specialisations are a
particular pain because they require a cpp file.

- John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk