This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libstdc++/5734: 2 extensions (empty push_back() and is_sorted()) are not documented
- From: m dot duflot at ulg dot ac dot be
- To: gcc-gnats at gcc dot gnu dot org
- Date: 20 Feb 2002 08:44:14 -0000
- Subject: libstdc++/5734: 2 extensions (empty push_back() and is_sorted()) are not documented
- Reply-to: m dot duflot at ulg dot ac dot be
>Number: 5734
>Category: libstdc++
>Synopsis: 2 extensions (empty push_back() and is_sorted()) are not documented
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: accepts-illegal
>Submitter-Id: net
>Arrival-Date: Wed Feb 20 00:46:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Marc Duflot
>Release: 3.0
>Organization:
>Environment:
Suse linux 7.3
>Description:
Two extensions of the standard C++ library are not documented.
There is no way to desactivate them.
This causes troubles when porting code to another compiler using a different library.
These estensions are :
* empty push_back() :
vec.push_back();
where vec is std::vector<whatever> is accepted but illegal.
* is_sorted() in <algorithm> is non-standard.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: