Boost logo

Boost :

Subject: Re: [boost] [preprocessor] Warning: Incoming
From: Eric Niebler (eric_at_[hidden])
Date: 2011-07-01 19:05:53


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 7/1/2011 4:01 PM, Paul Mensonides wrote:
> 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.

All good points. Thanks,

- --
Eric Niebler
BoostPro Computing
http://www.boostpro.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJODlLRAAoJEAeJsEDfjLbX0AQIAI4BoKJSQ7qnX4QDYoequX55
DGyu+d7uox8RdpC2GUjGwSigQLNV87+weTx5ysrbbnSWBrpyQftlgLfzUVX3rdlg
sN2+7IYwpVbMdHrUMWbreamoRUB/kDXmul1gtpaUqGI9KdIklSDjfwka3xBuKkW+
oaCan6LKop2iZfuMJHR0zFtqyYjqjzix9N03zhoS7uGxj0boUwEHBS+yQQcDLYsI
kDb9AujP8Lqctxb9NSOuesMsk7sJFLd0/xyiGkeDFRxxWQUyXzzg0o9cF9G+ppcq
/8WmHVWWRt5Fe2mjTVmb9b3KbjaqSPlrFLQXYUm4Z67/OSZ48l1toprl3qkUA4g=
=6yD5
-----END PGP SIGNATURE-----


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