Boost logo

Boost :

From: Fernando Cacciola (fernando_cacciola_at_[hidden])
Date: 2004-07-02 09:10:39


Daniel Frey wrote:
> David Abrahams wrote:
>> Uh, right. Not so secret actually; that's why we have
>> value_inititalized:
>>
>> #include <boost/utility/value_init.hpp>
>
> Have I missed the documentation? Anyway, looking at it, I found:
>
Hmmm, well, I think it is not listed in "utility" nor elsewhere... I'll fix
that.

> template<class T>
> class value_initialized : private vinit_detail::select_base<T>::type
> {
> ...
> }
>
> isn't this missing "typename" after "private"?
>

AFAIK base classes do not need 'typename' (because they are neccesarily
typenames)

Fernando Cacciola
SciSoft


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