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]

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


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


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