
21 Feb
2004
21 Feb
'04
3:01 p.m.
"David Abrahams" <dave@boost-consulting.com> wrote in message news:u1xopqx1v.fsf@boost-consulting.com... Christian Engström <christian.engstrom@glindra.org> 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