Using TinyVector from the Blitz++ C++ library (http://www.oonumerics.org/b as a temporary to initialize a default constructor values gives errors. The actual code follows. Preprocessed code attached.
#include <blitz/tinyvec-et.h> class Foo { blitz::TinyVector<double, 3> x; Foo(blitz::TinyVector<double, 3> _x = blitz::TinyVector<double, 3>(0.0)) : x(_x){} }; int main() { return 0; } -- Summary: error using TinyVector temporary as default constructor value Product: gcc Version: 3.3.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: faheem at email dot unc dot edu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24690