Boost logo

Boost Users :

From: Stefan Shishkov (stefan_at_[hidden])
Date: 2003-11-14 04:51:57


I had a small problem using boost::regexp on MS VC 6.0, boost 1.30.2. In one
of my headers I included regex_fwd.hpp. The compilation failed with:

..\boost-1.30.2\boost/detail/allocator.hpp(215): error C2065: 'assert':
undeclared identifier

Allocator.hpp does not include <cassert> probably relying that it will be
included before it. I solved this problem by including <cassert> before
regex_fwd.hpp but may be it is better to change allocator.hpp? Or probably
something is wrong with my configuration?

Best regards

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at