Boost logo

Boost Users :

From: gast128 (gast128_at_[hidden])
Date: 2005-03-18 05:42:52


Dear all,

I get a compile error when I want to export a class derived from boost
variant, e.g.:

struct __declspec(dllexport) BlaVariant : public boost::variant<bool>
{
    BlaVariant() {}
};

It gives C2666. What do I wrong... As a workaround I can aggregate it instead
of derivation (although I think in my case it was a really an 'ISA'
relationship)

wkr,
me


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