http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48848
Summary: [C++0x] std::valarray<T> functions missing Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: ssameer+...@gmail.com std::valarray<T> move constructor, move assignment operator and swap() function are missing in the standard header <valarray> These new functions are quite important for efficient numeric code as they prevent temporary copies. See section 26.6.2.1, 26.6.2.2, 26.6.2.7 in the draft N3092. The status document http://gcc.gnu.org/onlinedocs/gcc-4.6.0/libstdc++/manual/manual/status.html claims that support for valarray is complete except for range access. Actually range access (begin() and end() functions) are implemented, while the above 3 functions are missing.