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: unassig...@gcc.gnu.org

        ReportedBy: co...@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

Reply via email to