Boost logo

Boost :

From: John Max Skaller (skaller_at_[hidden])
Date: 2001-07-02 04:30:16


Douglas Gregor wrote:

> Having code in a library does not prevent a particular compiler from
> implementing it and overriding the library (_if_ the library semantics are
> standardized).

        Agreed.
 
> The low limit can be increased. Using something like the preprocessor library
> there is very little ( = no) maintenance required to increase the maximum
> value of "n". Yes, I understand the compile-time hit, but I have never had a
> use for more than 10 arguments. With 10 arguments I would start to wonder if
> there is a design and/or usability problem.

        I agree that 10 is reasonable for most uses.
It is enough for experiment -- and serious work --
in the boost library.

> The binary operator is, of course, a problem :)

        It's only a problem if you want to use the natural
syntax for tuples: we could live with

        mk_tuple(1,2,3)

Of course, the natural syntax solves a lot of other problems
automatically:
it makes some function1 work fine for any function :-)

-- 
John (Max) Skaller, mailto:skaller_at_[hidden] 
10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850
New generation programming language Felix  http://felix.sourceforge.net
Literate Programming tool Interscript     
http://Interscript.sourceforge.net

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