Boost logo

Boost Users :

From: John Eddy (johneddy_at_[hidden])
Date: 2004-02-05 13:59:07


Hello,

I have just downloaded and installed 1.31.0. I am using MS VC7 and am
having the following problem:

The following code will not compile (whereas it did previously)

#include <locale>
using namespace std;
#include <boost/regex.hpp>

int main(int argc, char* argv[])
{
    return 0;
}

The error reported is as follows:

regbase.hpp(120) : error C2955: 'std::collate' : use of class template
requires template argument list

The offending line of code is:

      collate = ::boost::regbase::collate,

which is one member of an enumeration. The code looks fine to me so
this seems to be a problem with the compiler. Has anyone already dealt
with this?

Thanks,
John


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