$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Joel de Guzman (joel_at_[hidden])
Date: 2007-10-02 04:20:27
Marco Costalba wrote:
>> (**You'll still have to expand the overload_function(s) for
>> N arguments, where N is the maximum the library can handle)
>>
>
> Yes. I left it as the last one because probably will be unsuccessful
> to find a template only way to expand overoload_functions(s) without
> repetition, and without preprocessor macros.
>
> For the very few I know boost, the code I've looked at in the
> libraries it seems that in this cases the accepted way is to rely on
> preprocessor.
>
> But for my untrained eye is still difficult to read such a code. And
> for my untrained sense of aesthetic I would call that code a little
> bit on the ugly side. I, perhaps strange enough, still prefer to see
> the whole set of repetitions instead of one packed BOOST macro stuff
> block.
Ok, your call, since you're the one taking the challenge anyway :)
Regards,
-- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net