Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2002-07-23 06:02:17


Gennadiy Rozental wrote:
> > > Page 8 2.1 : Does introduction of mpl::if_ mean that we
> > > gonna depricate select_type?
> >
> > Which 'select_type'?
>
> That is located in boost/detail

Probably. Is this an issue?

>
> > > Page 16 2.3.3 : You introduced tiny_list. I did not get why
> > > is it Sequece at all. It does not fit to Sequence definition.
> >
> > In what way?
>
> You did not specify begin<> and end<> for it. Do I understand
> correctly that is it requires for the type to be Sequence

Oh, that's simple - the default begin<Seq>/end<Seq> implementations are

    typedef typename Seq::begin type;

and

    typedef typename Seq::end type;

correspondingly. These work with 'tiny_list' out-of-box.

Aleksey


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