Boost logo

Boost :

From: Eric Niebler (eric_at_[hidden])
Date: 2004-10-16 16:19:47


Tobias Schwinger wrote:
>
> That this won't work:
>
> typedef typename boost::add_const<typename T::head_type> type;

This is not legal. It should be either:

   typedef typename boost::add_const<typename T::head_type>::type type;

or

   typedef boost::add_const<typename T::head_type> type;

depending on what you are trying to do.

-- 
Eric Niebler
Boost Consulting
www.boost-consulting.com

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