Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2006-11-14 14:33:23


"Ovanes Markarian" <om_boost_at_[hidden]> writes:

> It seems that at least macro definition for the map of 150 tuples worked. Now I face a new
> problem. To reduce compilation times we decided to use map10, map20 etc. Unfortunately as we found
> out this will not compile if I pass to map10 only 7 arguments. With unnumbered map these elements
> were default initialized with "na" type. Why isn't this the case
> with numbered maps?

Because they weren't designed that way. If you want to pass 7
arguments, use map7<...>

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