Boost logo

Boost Users :

From: gast128 (gast128_at_[hidden])
Date: 2008-04-05 10:41:08


and another one: the regex::ECMAScript has value 0, so it can not be tested
for in the following way:

void show_flags(const std::tr1::regex& rrgx)
{
   if ((rrgx.flags() & std::tr1::regex::ECMAScript) ==
std::tr1::regex::ECMAScript)
   {
      //always true, since it has value 0
   }
}


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net