|
Boost : |
From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2004-02-21 10:01:39
"David Abrahams" <dave_at_[hidden]> wrote in message
news:u1xopqx1v.fsf_at_boost-consulting.com...
Christian Engström <christian.engstrom_at_[hidden]> writes:
[snip]
>> , all of the STL algorithms can be used without restriction."
>
> False. They are allowed to contain concept checks that cause
> compilation to fail if you pass them non-conforming iterators.
I just ran into this moving a project from VC6.5 to VC7.1, where home-grown
pre-boost::iterator_adaptors were no longer valid for use with several
algorithms. It was very easy(and appealing) to replace them with their
Specialized Adaptor equivalents.
Jeff F
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk