wregex in namespace 'boost' does not name a type

30 Nov
2007
30 Nov
'07
9:14 a.m.
Hi, I inlude <boost/regex.hpp> and try to use boost::wregex but got error message: "wregex in namespace 'boost' does not name a type". How to use wregex, thanks! -- ------------------------------- Enjoy life! Barco You

30 Nov
30 Nov
10:03 a.m.
Barco You wrote:
Hi, I inlude <boost/regex.hpp> and try to use boost::wregex but got error message: "wregex in namespace 'boost' does not name a type".
How to use wregex, thanks!
What compiler and platform? If the platform has no wide character support (cygwin for example) then there is no boost::wregex type declared. You can detect this by checking to see if BOOST_NO_WREGEX is defined or not after including boost/regex.hpp. HTH, John.
6402
Age (days ago)
6402
Last active (days ago)
1 comments
2 participants
participants (2)
-
Barco You
-
John Maddock