VCCC
2024.05
VisualCamp Common C++ library
relation.hpp
Go to the documentation of this file.
1
//
2
// Created by yonggyulee on 2023/12/27.
3
//
4
5
#ifndef VCCC_CONCEPTS_RELATION_HPP
6
#define VCCC_CONCEPTS_RELATION_HPP
7
8
#include "
vccc/__concepts/predicate.hpp
"
9
#include "
vccc/__type_traits/conjunction.hpp
"
10
11
namespace
vccc
{
14
23
template
<
typename
R,
typename
T,
typename
U>
24
struct
relation
25
:
conjunction
<
26
predicate<R, T, T>,
27
predicate<R, U, U>,
28
predicate<R, T, U>,
29
predicate<R, U, T>
30
> {};
31
33
34
}
// namespace vccc
35
36
#endif
// VCCC_CONCEPTS_RELATION_HPP
conjunction.hpp
vccc
Definition:
directory.h:12
predicate.hpp
vccc::conjunction
Definition:
conjunction.hpp:22
vccc::relation
specifies that a callable type is a binary relation
Definition:
relation.hpp:30
include
vccc
__concepts
relation.hpp
Generated by
1.9.1