
Thorsten Ottosen wrote:
"David Abrahams" <dave@boost-consulting.com> wrote in message news:crf6sd$m1t$1@sea.gmane.org... | | > And this is really bad. I can't provide all these overloads in boost.assign | > for | > 2-5 arguements, say. | | Sure you can. That's only 16 overloads. Use the preprocessor.
AFAICT, up to 5 arguments would give 32 + 16 + 8 + 4 + 2 = 62 overloads.
You're right; what was I thinking?
That's a lot of code to parse in a header. How much will this affect compilation time?
Not much, based on what I've seen in the past, but you'll never know until you try it.
Given that the usage is minimal in the boost.assign I'm not so keen about doing this currently.
It's your party. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com