Typo in bits/limits_generic.h?

Branko Branko
Tue May 30 06:12:00 GMT 2000


I think this is a typo:

2000-05-30  Branko Cibej  <branko.cibej@hermes.si>

	* bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
	and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.


Index: bits/limits_generic.h
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/bits/limits_generic.h,v
retrieving revision 1.1
diff -u -p -r1.1 limits_generic.h
--- limits_generic.h 2000/04/21 20:33:28 1.1
+++ limits_generic.h 2000/05/30 13:07:17
@@ -304,9 +304,9 @@ namespace std {
         static const bool is_specialized = true;
 
         static wchar_t min() throw()
-        { return WCHART_MIN; }
+        { return WCHAR_MIN; }
         static wchar_t max() throw()
-        { return WCHART_MAX; }
+        { return WCHAR_MAX; }
 
         static const int digits = 31;
         static const int digits10 = 9;


-- 
Branko Čibej                 <branko.cibej@hermes.si>
HERMES SoftLab, Litijska 51, 1000 Ljubljana, Slovenia
voice: (+386 1) 586 53 49     fax: (+386 1) 586 52 70


More information about the Libstdc++ mailing list