Boost logo

Boost Users :

Subject: Re: [Boost-users] Max Boost Fusion tuple parameters
From: Larry Evans (cppljevans_at_[hidden])
Date: 2013-06-11 10:02:17


On 06/10/13 13:40, Rodrigo Madera wrote:
> Hello,
>
> What is the maximum Boost Fusion tuple param count?
>
> I was thinking of using it for about 200-300 elements.
>
> Anyone done this?
>
> I've heard of defines for this, but never actually *knew* of anyone
> actually doing it.
>
> Thanks,
> Rodrigo Madera

I found some relevant information on this by:

  1) going to:
http://www.boost.org/doc/libs/1_53_0/libs/fusion/doc/html/index.html
  2) then following the _Class template tuple_ link to:
http://www.boost.org/doc/libs/1_53_0/libs/fusion/doc/html/fusion/tuple/class_template_tuple.html
  3) then following the _vector_ link to:
http://www.boost.org/doc/libs/1_53_0/libs/fusion/doc/html/fusion/container/vector.html

  4) which said:
You may define the preprocessor constant FUSION_MAX_VECTOR_SIZE before
including any Fusion header to change the default. Example:

#define FUSION_MAX_VECTOR_SIZE 20

HTH.

-regards,
Larry


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