Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2004-01-15 13:06:09


Istvan Buki <istvan.buki_at_[hidden]> writes:

> Hi all,
>
> I'm using the mpl::list template in one of my aplications but I just
> hit what seems to be a limit. list compile fine with 10 parameters but
> not with 11. I saw in the documentation that there are several header
> files like :
> #include "boost/mpl/list/list50.hpp"
>
> Are they meant to be used in cases like mine

Yes.

> and if it is the case
> could someone point me to a short example ?

#include "boost/mpl/list/list20.hpp"

typedef mpl::list11<int,int,int,int,int,int,int,int,int,int,int> list_of_11_ints;
typedef mpl::list12<int,int,int,int,int,int,int,int,int,int,int,int> list_of_12_ints;

HTH,
Dave

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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