libstdc++/9444: g++ STL requires iterators passed to string constructor to have a constructor without parameters, but C++ standard does not require that

paolo@gcc.gnu.org paolo@gcc.gnu.org
Mon Jan 27 05:02:00 GMT 2003


Synopsis: g++ STL requires iterators passed to string constructor to have a constructor without parameters, but C++ standard does not require that

Responsible-Changed-From-To: unassigned->paolo
Responsible-Changed-By: paolo
Responsible-Changed-When: Sun Jan 26 23:31:18 2003
Responsible-Changed-Why:
    Analyzed.
State-Changed-From-To: open->feedback
State-Changed-By: paolo
State-Changed-When: Sun Jan 26 23:31:18 2003
State-Changed-Why:
    In a nutshell, I do not agree. Indeed, the lines which you
    emphasize are from:
      _S_construct(..., forward_iterator_tag)
                        ^^^^^^^^^^^^^^^^^^^^
    Among the ISO C++ requirements for _forward_ iterators
    (24.1.3, Table 74) is the parameterless constructor.
    
    Paolo.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9444



More information about the Gcc-bugs mailing list