libstdc++/9626: g++ accepts vector<vector<int> > v(2, 4);

paolo@gcc.gnu.org paolo@gcc.gnu.org
Sat Feb 8 09:25:00 GMT 2003


Synopsis: g++ accepts vector<vector<int> > v(2, 4);

Responsible-Changed-From-To: unassigned->paolo
Responsible-Changed-By: paolo
Responsible-Changed-When: Sat Feb  8 09:25:05 2003
Responsible-Changed-Why:
    Analyzing.
State-Changed-From-To: open->analyzed
State-Changed-By: paolo
State-Changed-When: Sat Feb  8 09:25:05 2003
State-Changed-Why:
    Confirmed according to 23.2.4.1: seems an SGI extension.
    Currently the explicit keyword is missing from the relevant
    constructor and moreover, an additional one, non-standard,
    is provided having the following signature
      explicit vector(size_type n)
    Will pool the list...

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



More information about the Gcc-bugs mailing list