Boost logo

Boost Users :

From: Hugo Korwaser (hugo.korwaser_at_[hidden])
Date: 2002-09-05 06:05:34


Hi,

I am trying to use boost::regex within a DOM_NodeFilter to help in
determining which nodes I wish to process.
Unfortunately I cannot get the code to compile. I get messages of the form:

D:\Program Files\Microsoft Visual Studio\VC98\include\utility(81) :
error C2146: syntax error : missing ';' before identifier
'iterator_category'
D:\Program Files\Microsoft Visual Studio\VC98\include\utility(84) : see
reference to class template instantiation 'std::iterator_traits<_It>'
being compiled
D:\Program Files\Microsoft Visual Studio\VC98\include\utility(81) :
error C2838: illegal qualified name in member declaration
D:\Program Files\Microsoft Visual Studio\VC98\include\utility(84) : see
reference to class template instantiation 'std::iterator_traits<_It>'
being compiled
D:\Program Files\Microsoft Visual Studio\VC98\include\utility(81) :
error C2501: 'iterator_category' : missing storage-class or type specifiers
D:\Program Files\Microsoft Visual Studio\VC98\include\utility(84) : see
reference to class template instantiation 'std::iterator_traits<_It>'
being compiled

These errors appear only when I include the boost::regex.hpp
I am using MSVC6sp5, boost-1_28_0, xerces 1_7_0 (the windows precompiled
version).

Searching through the archives it would seem that they should work.

Has anyone any ideas ?

Regards

Hugo


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