VCCC
2024.05
VisualCamp Common C++ library
three_way_comparable.hpp
Go to the documentation of this file.
1
//
2
// Created by YongGyu Lee on 4/11/24.
3
//
4
5
#ifndef VCCC_COMPARE_THREE_WAY_COMPARABLE_HPP_
6
#define VCCC_COMPARE_THREE_WAY_COMPARABLE_HPP_
7
8
#include "
vccc/__concepts/partially_ordered_with.hpp
"
9
#include "
vccc/__concepts/weakly_equality_comparable_with.hpp
"
10
#include "
vccc/__type_traits/conjunction.hpp
"
11
12
namespace
vccc
{
13
16
17
template
<
typename
T>
18
struct
unstable_three_way_comparable
19
:
conjunction
<
20
weakly_equality_comparable_with<T, T>,
21
partially_ordered_with<T, T>
22
> {};
23
25
26
}
// namespace vccc
27
28
#endif
// VCCC_COMPARE_THREE_WAY_COMPARABLE_HPP_
conjunction.hpp
vccc
Definition:
directory.h:12
partially_ordered_with.hpp
vccc::conjunction
Definition:
conjunction.hpp:22
vccc::unstable_three_way_comparable
Definition:
three_way_comparable.hpp:22
weakly_equality_comparable_with.hpp
include
vccc
__compare
three_way_comparable.hpp
Generated by
1.9.1