fake_sort.hpp 776 B

123456789101112131415161718192021222324252627
  1. // Copyright David Abrahams 2006. Distributed under the Boost
  2. // Software License, Version 1.0. (See accompanying
  3. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  4. #ifndef BOOST_LIBS_CONCEPT_CHECK_FAKE_SORT_DWA2006430_HPP
  5. # define BOOST_LIBS_CONCEPT_CHECK_FAKE_SORT_DWA2006430_HPP
  6. # include <boost/detail/iterator.hpp>
  7. # include <boost/concept/requires.hpp>
  8. # include <boost/concept_check.hpp>
  9. namespace fake
  10. {
  11. using namespace boost;
  12. template<typename RanIter>
  13. BOOST_CONCEPT_REQUIRES(
  14. ((Mutable_RandomAccessIterator<RanIter>))
  15. ((LessThanComparable<typename Mutable_RandomAccessIterator<RanIter>::value_type>))
  16. , (void))
  17. sort(RanIter,RanIter)
  18. {
  19. }
  20. }
  21. #endif // BOOST_LIBS_CONCEPT_CHECK_FAKE_SORT_DWA2006430_HPP