Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2005-04-03 23:08:38


Stefan Strasser <sstrasser_at_[hidden]> writes:

> David Abrahams schrieb:
>> Stefan Strasser <sstrasser_at_[hidden]> writes:
>>
>>>Stefan Strasser schrieb:
>>>
>>>>this code has always been working on gcc but doesn't on icc, can
>>>>anyone tell me what's wrong here:
>>>>typedef
>>>>
>>>>mpl::copy<AMplVector,mpl::back_inserter<mpl::vector<AnotherMplVector>
>>>>
>>>>> >::type Type;
>>>
>>> sorry, I've made a mistake here: "AnotherMplVector" instead of
>>> "mpl::vector<AnotherMplVector>".
>> I can't tell what you've done. Why not post a tiny complete program
>> that reproduces the problem? It should be easy enough.
>
> the problem was that I've exceeded the default maximum vector size of 20.
> do you consider it a bug that a vector of 21 items worked on gcc without
> any redefinition of BOOST_MPL_LIMIT_VECTOR_SIZE?

Not really, but it is odd.

> if so, where to report it?

This is as good a place as any. Aleksey is primarily responsible for
the MPL's code; he should be listening here.

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