Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-06-19 12:22:58


From: <jaakko.jarvi_at_[hidden]>

> > - Should indexing from 0 to n-1 be supported? Isn't 0-based indexing
> > more intuitive in C++?

> This is a matter of taste. Others?

Zero-based indexing is usually more intuitive, however, when tuple is used
as a building block for a bind/lambda library, the arguments are one-based.

FWIW, I made the same decision (one-based "tuples") in bind.hpp (in the
vault.)

--
Peter Dimov
Multi Media Ltd.

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