Boost logo

Boost Users :

From: Aaron Rocha (hxdg21_at_[hidden])
Date: 2007-09-29 02:42:24


Hi there,

I am using MSVC 8.0 and Boost 1.34.0 . I am trying to
create a variant that can hold an object of one of 50
different classes but it has not worked. I keep
getting a compile error indicating that the template
contains too many arguments. I have played with
preprocessor variables like BOOST_MPL_LIMIT_LIST_SIZE,
BOOST_VARIANT_LIMIT_TYPES, and
BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS w/o success.
I have also attempted to use boost::make_variant_over<
> but it doesn't work past the type #20. Has anyone
been able to do something similar?

Thanks

      Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca


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