Boost logo

Boost :

From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2003-04-29 13:27:51


http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/boost/boost/libs/mpl/example/inherit_linearly.cpp?rev=HEAD&content-type=text/plain

This sample (which Gennadiy provided in a post from his a few days ago)
does not compile in MSVC++ 6.5. The compiler says:

error C2039: 'index' : is not a member of 'arg<-1>'

If I remove all the 'index' stuff, the program compiles, but sizeof(t)
is
1 --it should be at least sizeof(int)+sizeof(char const *)+sizeof(bool).

Ideas?

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk