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 
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
Definition: directory.h:12
Definition: conjunction.hpp:22
specifies that a callable type is a binary relation
Definition: relation.hpp:30