File indexing completed on 2026-05-03 08:13:54
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef _LIBCPP___ITERATOR_SORTABLE_H
0011 #define _LIBCPP___ITERATOR_SORTABLE_H
0012
0013 #include <__config>
0014 #include <__functional/identity.h>
0015 #include <__functional/ranges_operations.h>
0016 #include <__iterator/concepts.h>
0017 #include <__iterator/permutable.h>
0018 #include <__iterator/projected.h>
0019
0020 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0021 # pragma GCC system_header
0022 #endif
0023
0024 _LIBCPP_BEGIN_NAMESPACE_STD
0025
0026 #if _LIBCPP_STD_VER >= 20
0027
0028 template <class _Iter, class _Comp = ranges::less, class _Proj = identity>
0029 concept sortable = permutable<_Iter> && indirect_strict_weak_order<_Comp, projected<_Iter, _Proj>>;
0030
0031 #endif
0032
0033 _LIBCPP_END_NAMESPACE_STD
0034
0035 #endif