Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2001-06-23 06:26:01

>What is 'regex_tA'??
My code looks like this: first, I include boost/regex.hpp,
and do a typedef:

#include <boost/regex.hpp>
typedef boost::reg_expression<char> regex_t;

Therein lies the problem, regex_t is a type already used by the POSIX C
API's - I'm surprised that you didn't get an error on the declaration -
anyway change regex_t to something else, or better still just use
boost::regex as that's already typedef'ed for you as a

- John Maddock

Boost list run by bdawes at, gregod at, cpdaniel at, john at