2006-05-01 12:50:48 +00:00
|
|
|
// Copyright David Abrahams 2006. Distributed under the Boost
|
|
|
|
|
// Software License, Version 1.0. (See accompanying
|
|
|
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
|
#ifndef BOOST_LIBS_CONCEPT_CHECK_FAKE_SORT_DWA2006430_HPP
|
|
|
|
|
# define BOOST_LIBS_CONCEPT_CHECK_FAKE_SORT_DWA2006430_HPP
|
|
|
|
|
|
2020-06-24 19:50:46 +03:00
|
|
|
# include <iterator>
|
2007-11-05 04:43:31 +00:00
|
|
|
# include <boost/concept/requires.hpp>
|
2006-05-01 12:50:48 +00:00
|
|
|
# include <boost/concept_check.hpp>
|
|
|
|
|
|
2006-05-01 13:17:48 +00:00
|
|
|
namespace fake
|
2006-05-01 12:50:48 +00:00
|
|
|
{
|
2006-05-01 13:17:48 +00:00
|
|
|
using namespace boost;
|
|
|
|
|
|
|
|
|
|
template<typename RanIter>
|
2007-11-05 03:54:19 +00:00
|
|
|
BOOST_CONCEPT_REQUIRES(
|
2006-05-01 19:40:32 +00:00
|
|
|
((Mutable_RandomAccessIterator<RanIter>))
|
|
|
|
|
((LessThanComparable<typename Mutable_RandomAccessIterator<RanIter>::value_type>))
|
2006-05-01 13:17:48 +00:00
|
|
|
|
|
|
|
|
, (void))
|
|
|
|
|
sort(RanIter,RanIter)
|
|
|
|
|
{
|
2006-05-01 12:50:48 +00:00
|
|
|
|
2006-05-01 13:17:48 +00:00
|
|
|
}
|
2006-05-01 12:50:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif // BOOST_LIBS_CONCEPT_CHECK_FAKE_SORT_DWA2006430_HPP
|