boost/concept_check.hpp: In method 'void LessThanComparableConcept
   <_List_iterator<...> >::constraints()':
boost/concept_check.hpp:334: instantiated from 'RandomAccessIteratorConcept
   <_List_iterator<...> >::constraints()'
bad_error_eg.cpp:6: instantiated from 'stable_sort<_List_iterator
   <...> >(_List_iterator<...>,
   _List_iterator<...>)'
boost/concept_check.hpp:209: no match for '_List_iterator<...> &
   < _List_iterator<...> &'

Example 4: An informative, BCCL-like message.

Back to Article