Hello all, We've all experienced the pain of seeing nasty error messages when a template class or function is somehow missused. Here is a copy of the macros, as well as functions for testing STL iterators. BTW, the next release of the SGI STL will include these checks. For further information please consult that book. This file covers the basic concepts and the iterator concepts.
Some compilers lack the features that are necessary for concept checks.
On those compilers we define the concept check macros to do nothing. Need to have something to assign to etc. Without the classes, the errors in the functions get reported after other class errors deep inside the library.