
27 Dec
2008
27 Dec
'08
10:53 p.m.
AMDG Tilo Nitzsche wrote:
class A { public: A(int i) : i(i) {}; private: A(); A(const A&); int i; };
typedef boost::fusion::vector VecA; boost::fusion::vector
int_vec(1, 2); VecA v(int_vec); // doesn't compile, needs copy constructor I'm trying to construct a vector of classes that don't have either a default constructor or a copy constructor. Is that possible at all?
Not currently. See also https://svn.boost.org/trac/boost/ticket/2087 In Christ, Steven Watanabe