Boost logo

Boost :

From: Graham Reitz (grahamreitz_at_[hidden])
Date: 2008-06-03 15:42:58


Is it possible or even reasonable to initialization a boost::array in
a member initialization list?

foo.h

class foo
{
     boost::array<int,3> m_array;
};

foo.cpp

foo::foo() :
m_array(?)
{}

thanks,
graham


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