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

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Thu May 26 15:07:00 GMT 2011


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-05-26 14:47:05 UTC ---
There is absolutely no difference between a struct and a class in C++, besides
access control, and in 18.2.1.1 there is a 'public:' at the beginning.



More information about the Gcc-bugs mailing list