This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/9444: g++ STL requires iterators passed to string constructor to have a constructor without parameters, but C++ standard does not require that
- From: paolo at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, paolo at gcc dot gnu dot org, scmvs at cs dot cf dot ac dot uk, val at digiways dot com
- Date: 30 Jan 2003 09:44:56 -0000
- Subject: Re: libstdc++/9444: g++ STL requires iterators passed to string constructor to have a constructor without parameters, but C++ standard does not require that
- Reply-to: paolo at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, paolo at gcc dot gnu dot org, scmvs at cs dot cf dot ac dot uk, val at digiways dot com, gcc-gnats at gcc dot gnu dot org
Synopsis: g++ STL requires iterators passed to string constructor to have a constructor without parameters, but C++ standard does not require that
State-Changed-From-To: feedback->closed
State-Changed-By: paolo
State-Changed-When: Thu Jan 30 09:44:55 2003
State-Changed-Why:
Ok, by now the issue seems completely clear to me.
By the way, in case you really don't want to provide a
parameterless constructor just inherit from
std::iterator<std::input_iterator_tag, ...>
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9444