$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-01-06 08:25:17
"David Abrahams" <dave_at_[hidden]> wrote in message
news:crf6sd$m1t$1_at_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.
That's a lot of code to parse in a header. How much will this affect
compilation time? Given that the usage is minimal
in the boost.assign I'm not so keen about doing this currently.
-Thorsten
.