]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/concept_check/test/fake_sort.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / concept_check / test / fake_sort.hpp
CommitLineData
7c673cae
FG
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
20effc67 7# include <iterator>
7c673cae
FG
8# include <boost/concept/requires.hpp>
9# include <boost/concept_check.hpp>
10
11namespace fake
12{
13 using namespace boost;
14
15 template<typename RanIter>
16 BOOST_CONCEPT_REQUIRES(
17 ((Mutable_RandomAccessIterator<RanIter>))
18 ((LessThanComparable<typename Mutable_RandomAccessIterator<RanIter>::value_type>))
19
20 , (void))
21 sort(RanIter,RanIter)
22 {
23
24 }
25}
26
27#endif // BOOST_LIBS_CONCEPT_CHECK_FAKE_SORT_DWA2006430_HPP