3 ms·
Woa .. this will sure upset Mr. Stepanov. The lack of the support for concepts was one of his main concerns about the C++ even back in 1995. I'm sure his feelin
by huhtenberg 17y ago
Woa .. this will sure upset Mr. Stepanov. The lack of the support for concepts was one of his main concerns about the C++ even back in 1995. I'm sure his feelings didn't improve dramatically since then.
What is an iterator? Not a class. Not a type. It is a
concept. (Or, if we want to be more formal, it is what
Bourbaki calls a structure type, what logicians call a
theory, or what type theory people call a sort.) It is
something which doesn't have a linguistic incarnation
in C++. But it could.
http://www.sgi.com/tech/stl/drdobbs-interview.html http://www.sgi.com/tech/stl/drdobbs-interview.html