Boost logo

Boost Users :

Subject: Re: [Boost-users] [mpl] resulting sequence limits
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-01-10 15:16:08


AMDG

On 1/10/2011 12:12 PM, Igor R wrote:
> I've got 2 mpl::map's, both have less than 20 elements. I copy one to
> another, and the result has more than 20 elements.
> I thought that BOOST_MPL_LIMIT_MAP_SIZE macro affects only explicit
> definitions of maps, not result values of metafunctions, but it turns
> out that the above case doesn't compile -- until I #include
> <boost/mpl/map/map30.hpp>
> Is it behavior "by design", or is it a bug?

This behavior is expected for the non-typeof
implementation of map.

In Christ,
Steven Watanabe


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