10 Jan
2011
10 Jan
'11
8:16 p.m.
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
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