Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62747 - trunk/boost
From: andrey.semashev_at_[hidden]
Date: 2010-06-10 12:31:39


Author: andysem
Date: 2010-06-10 12:31:38 EDT (Thu, 10 Jun 2010)
New Revision: 62747
URL: http://svn.boost.org/trac/boost/changeset/62747

Log:
Fixed missing include for wide-charader classification functions.

Text files modified:
   trunk/boost/token_functions.hpp | 3 +--
   1 files changed, 1 insertions(+), 2 deletions(-)

Modified: trunk/boost/token_functions.hpp
==============================================================================
--- trunk/boost/token_functions.hpp (original)
+++ trunk/boost/token_functions.hpp 2010-06-10 12:31:38 EDT (Thu, 10 Jun 2010)
@@ -35,14 +35,13 @@
 #include <stdexcept>
 #include <string>
 #include <cctype>
+#include <cwctype>
 #include <algorithm> // for find_if
 #include <boost/config.hpp>
 #include <boost/assert.hpp>
 #include <boost/detail/workaround.hpp>
 #include <boost/mpl/if.hpp>
 
-#include <ctype.h> // required for wide version of character checkers
-
 //
 // the following must not be macros if we are to prefix them
 // with std:: (they shouldn't be macros anyway...)


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk