Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-08-13 17:33:15


Thorsten <nesotto_at_[hidden]> writes:

> In this particular case, I think you could make a good argument that
> these traits (for iterators and ranges) are really the same,
> semantically. Maybe that solves some problems?
>
> I'm not sure I see how. For example iterator traits don't have an iterator.

That's one reason we're not using degenerate traits blobs, but
metafunctions.

Isn't an iterator's value_type the same value_type a range or a
container has?

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

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