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

2011-05-28 Thread fr...@kingswood-consulting.co.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49174 --- Comment #6 from Frank Kingswood 2011-05-28 08:41:05 UTC --- What's so bad about following the ISO specification to the letter?

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

2011-05-26 Thread fr...@kingswood-consulting.co.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49174 --- Comment #2 from fr...@kingswood-consulting.co.uk 2011-05-26 18:25:03 UTC --- I realize struct and class are interchangeable. llvm with -Wextra finds the difference worth warning about.

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

2011-05-26 Thread fr...@kingswood-consulting.co.uk
: unassig...@gcc.gnu.org ReportedBy: fr...@kingswood-consulting.co.uk ISO 14882:1998 defines in 18.2.1.4 the contents of template class numeric_limits The libstdc++ header defines this as template struct numeric_limits