From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2003-03-02 13:04:43


"Alisdair Meredith" <alisdair.meredith_at_[hidden]> wrote in message
news:3E6232BB.80B6D0FE_at_uk.renaultf1.com...
> Thorsten Ottosen wrote:
>
> > 2. many standard algorithms take a single output iterator as an
argument.
> > Currently the argument for output must be a container. Should
> > it be posible to specify an iterator here too?
>
> Absolutely! Not all iterators belong to containers eg ostream_iterator

I see your point. Does anyone have a nice idea of how to detect when the
template argument is an iterator? It's easy with pairs and arrays and the
default case is containers.

regards

Thorsten