From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2003-03-02 13:04:43
"Alisdair Meredith" <alisdair.meredith_at_[hidden]> wrote in message
> Thorsten Ottosen wrote:
> > 2. many standard algorithms take a single output iterator as an
> > 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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk