This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libstdc++/5734: 2 extensions (empty push_back() and is_sorted()) are not documented



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]