|
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
reg_expression<char>.
- John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk