Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2007-12-04 21:41:40


on Tue Dec 04 2007, Joel de Guzman <djowel-AT-gmail.com> wrote:

> John Torjo wrote:
>
>> * What is your evaluation of the design?
>
> simple and effective. I'd like to see more tweakable
> parameters for specific uses. I frequently deal with
> different number expansions in a case to case basis.
> For example, is it possible to have arity 3 for function
> X and arity-5 for function Y? A single number seems
> wasteful if I'm sure that a certain use needs only a few.
> Is that possible?

It generates one template definition. You could generate a bunch of
different templates for different uses but I don't see much advantage;
it would probably slow down compilation overall.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk