Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2006-07-15 10:20:11


Stephan Tolksdorf <andorxor_at_[hidden]> writes:

> OK, part of the problem is that mpl only supports vectors and lists of
> maximum size 20 by default. I guess vectors with several thousands of
> elements are beyond the realms of MPL code.

No; http://www.boost.org/libs/mpl/doc/refmanual/variadic-sequence.html
http://www.boost.org/libs/mpl/doc/refmanual/limit-vector-size.html
http://www.boost.org/libs/mpl/doc/refmanual/limit-list-size.html

and lists are infinitely extensible, so you can always string together
arbitrary numbers of them using push_front.

-- 
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