Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-04-26 06:38:41


Vladimir Prus wrote:
> Can you modify that line, replacing:
>
> template<class T> struct add_value
> {
> typedef value<T> type;
> };
>
> template<class T> struct add_value< value<T> >
> {
> typedef value<T> type;
> };
>
> with
>
> template<class T> struct add_value
> {
> typedef boost::_bi::value<T> type;
> };
>
> template<class T> struct add_value< value<T> >
> {
> typedef boost::_bi::value<T> type;
> };
>
> ?

template<class T> struct add_value
{
   typedef _bi::value<T> type;
};

should be enough, if my theory is right.


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