Boost logo

Boost :

From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2007-05-15 06:38:57

"Minmin Gong" <gongminmin_at_[hidden]> wrote

> The compile output is:
> using typeof emulation
> d:\boost\boost\typeof\encode_decode.hpp(47) : error C2504:
> : base class undefined
> with
> [
> V=boost::type_of::vector0<>,
> Type_Not_Registered_With_Typeof_System=std::vector<int>
> [...]
> Do I need to register types such as std::vector, boost::array, etc.

Eric was right -- this is a problem with the registration. This will go
away once the "native" mode for vc8 is introduced (currently in CVS).

For now you can register types. Your immediate issue is with vector<int>,
and you can cure it like this:

#include <boost/typeof/std/vector.hpp>

instead of

#include <vector>

If you need boost::array, you will have to register it youself.


Boost list run by bdawes at, gregod at, cpdaniel at, john at