[Bug libstdc++/48848] New: [C++0x] std::valarray functions missing

2011-05-02 Thread ssameer+gcc at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48848

   Summary: [C++0x] std::valarray 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 move constructor, move assignment operator and swap() function
are missing in the standard header  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.


[Bug libstdc++/48848] [C++0x] std::valarray functions missing

2011-05-02 Thread ssameer+gcc at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48848

--- Comment #1 from ssameer+gcc at gmail dot com 2011-05-02 22:37:36 UTC ---
These functions are present in the standard library that comes with Visual C++
2010.


[Bug libstdc++/48848] [C++0x] std::valarray functions missing

2011-05-02 Thread ssameer+gcc at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48848

--- Comment #7 from ssameer+gcc at gmail dot com 2011-05-03 00:01:05 UTC ---
Thanks guys ! I'll look forward to the changes in gcc 4.7.