VCCC  2024.05
VisualCamp Common C++ library
different_from.hpp
Go to the documentation of this file.
1 //
2 // Created by YongGyu Lee on 1/18/24.
3 //
4 
5 #ifndef VCCC_CONCEPTS_DIFFERENT_FROM_HPP
6 #define VCCC_CONCEPTS_DIFFERENT_FROM_HPP
7 
11 
12 namespace vccc {
13 
16 
17 template<typename Test, typename From>
18 struct different_from : negation< same_as<remove_cvref_t<Test>, remove_cvref_t<From>> > {};
19 
20 template<typename Test, typename...>
21 struct different_from_this : std::true_type {};
22 
23 template<typename Test, typename T>
25 
27 
28 } // namespace vccc
29 
30 #endif // VCCC_CONCEPTS_DIFFERENT_FROM_HPP
Definition: directory.h:12
Definition: different_from.hpp:24
Definition: different_from.hpp:21
Definition: different_from.hpp:18
Definition: negation.hpp:23