[Bug libstdc++/49174] New: numeric_limits<T> template is a struct not a class

frank@kingswood-consulting.co.uk gcc-bugzilla@gcc.gnu.org
Thu May 26 14:47:00 GMT 2011


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

           Summary: numeric_limits<T> template is a struct not a class
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: frank@kingswood-consulting.co.uk


ISO 14882:1998 defines in 18.2.1.4 the contents of <limits>
   template<class T> class numeric_limits

The libstdc++ header defines this as
   template<class T> struct numeric_limits



More information about the Gcc-bugs mailing list