24 May
2010
24 May
'10
6:54 a.m.
Hi, I have been using the regular expressions with the older version of boost::regex, But with the latest version I'm getting the below error. I understand reg_expression is deprecated and need to use basic_regex. But even with that, its the same error. Any ideas on this, would be more useful. typedef boost::reg_expression<char, boost::c_regex_traits<char>, ntl::list_alloc<char> > Exp_type; ../../../include/expr/ExprEngine.h:38: error: wrong number of template arguments (3, should be 2) ../../../include/boost/regex/v4/basic_regex.hpp:597: error: provided for 'template<class charT, class traits> class boost::reg_expression' Thanks rsennat