Boost logo

Boost :

From: Greg Colvin (gcolvin_at_[hidden])
Date: 2001-06-29 02:00:42


From: <jaakko.jarvi_at_[hidden]>
> Thanks for the comments!
>
> The solution maximizing overall satisfaction seems to be:
>
> 1. Tuple elements should be indexed starting from 0.

Yes!

> 2. There should be a set of 'natural language' constants for accessing
> them 1-based.

And yes!

> e.g.: get<0>(a) == get<_1st>(a)
>
> 3. This choice and its rationale should be clearly expressed in the
> documentation.
>
> We'll change to this scheme.

Thanks. But could we lose the leading underscores?

> One additional clarification (which has already been said a couple of
> times):
>
> Placeholders in bind/lambda expressions are a separate issue,
> they can be named like arg1, arg2, arg3, ...
> or free1, free2, ... or _1st, _2nd, ... or something else
> Here 1-based naming is more consistent with the established
> conventions (cf. bind1st).
>
> Jaakko
>
>
>
>
> Info: http://www.boost.org Unsubscribe: <mailto:boost-unsubscribe_at_[hidden]>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>


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