Boost logo

Boost :

From: Rob Stewart (stewart_at_[hidden])
Date: 2003-10-29 13:37:24

From: Alan Bellingham <alan_at_[hidden]>
> Rob Stewart:
> >and there's no 0th. One poster suggested that the year before
> >one's first birthday, is the 0th year. Sorry, but I've never
> >heard anyone mention the 0th year of a child's life.
> No, but it's not till the following year that the child is one year old.

Sure, but the year before the child is 1 is the child's *first*
year of life. When the child is one, it is the child's second
year of life. Thus, I would fully expect to use an index of 0
when accessing information on the first year of life for a child,
but I'd expect to use 1 when accessing the information for the
child's nth year of life.

Omit "nth" and zero works; include "nth" and it doesn't.

Rob Stewart                           stewart_at_[hidden]
Software Engineer           
Susquehanna International Group, LLP  using std::disclaimer;

Boost list run by bdawes at, gregod at, cpdaniel at, john at