|
Boost : |
Subject: Re: [boost] [preprocessor] Warning: Incoming
From: Paul Mensonides (pmenso57_at_[hidden])
Date: 2011-07-01 19:01:15
On Fri, 01 Jul 2011 22:44:42 +0000, Paul Mensonides wrote:
> 1) It forces a particular argument order. By itself, this isn't the end
> of the world, but either tends to break symmetries or tends to require
> argument orders to change on a bunch of other things. 2) It does not
> play well with overloading (via number of arguments with macros--which
> you can do, via specialization of templates, or via plain overloading of
> functions).
> 3) It frequently destroys the ability to use default arguments (which
> could be accounted for if it weren't for #2). 4) It does not work when
> multiple data structures need to be passed (e.g. Cartesian products).
> 5) It removes the ability to use the *single* variadic clump for other
> stuff.
6) Such a data structure cannot nest.
> Regards,
> Paul Mensonides
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk