[Bug libstdc++/55963] New: std::vector<const T> fails

corey at octayn dot net gcc-bugzilla@gcc.gnu.org
Sun Jan 13 18:15:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55963

             Bug #: 55963
           Summary: std::vector<const T> fails
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: corey@octayn.net


Created attachment 29156
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29156
test code

PJ Plauger claims this is now-standardized behavior. Code compiled with "g++
-std=c++11 test.cpp".

http://bytes.com/topic/c/answers/829026-std-vector-const-mytype-not-allowed#post3311615



More information about the Gcc-bugs mailing list