|
Boost : |
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2004-02-22 03:09:01
I couldn't compile following code with msvc 6.5.
#include <boost/utility/value_init.hpp>
boost::value_initialized<char const> c;
Others compilers seems to be ok.
Any pointers?
Gennadiy.
P.S. Error message:
...boost/utility/value_init.hpp(29) : error C2758: 'x' : must be initialized
in constructor base/member initializer list
...\boost/utility/value_init.hpp(31) : see declaration of 'x'
...\boost/utility/value_init.hpp(29) : while compiling
class-template member function '__thiscall
boost::vinit_detail::const_T_base<char const
>::boost::vinit_detail::const_T_base<char const >(void)'
P.P.S. But it does present in member initializer list??!!
const_T_base() : x() {}
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk