Boost logo

Boost Users :

From: Hansi (hansipet_at_[hidden])
Date: 2008-05-21 05:01:59


you are right. I missunderstood the last comment....
maybe I should switch the code to the variant type...it is for sure
better...

Igor R. schrieb:
> > and there is the problem. I think the variant datatype can use only
> 10 different parameters. Isn't it?
>
> The maximal number of types is limited by _BOOST_VARIANT_LIMIT_TYPES_
> <http://www.boost.org/doc/libs/1_35_0/doc/html/BOOST_VARIANT_LIMIT_TYPES.html> macro,
> which is defined in 1.35 as follows:
>
> #if !defined(BOOST_MPL_LIMIT_LIST_SIZE)
> # define BOOST_MPL_LIMIT_LIST_SIZE 20
> #endif
>
> #define BOOST_VARIANT_LIMIT_TYPES BOOST_MPL_LIMIT_LIST_SIZE
>
> So it's default is 20, but IIUC you can set it to anything (>=10)
>
>
>
> ------------------------------------------------------------------------
> Discover the new Windows Vista Learn more!
> <http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


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