Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2007-11-30 05:03:27


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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk