diff options
Diffstat (limited to 'src/DI/extra_concepts.hpp')
-rw-r--r-- | src/DI/extra_concepts.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/DI/extra_concepts.hpp b/src/DI/extra_concepts.hpp new file mode 100644 index 0000000..45180c6 --- /dev/null +++ b/src/DI/extra_concepts.hpp @@ -0,0 +1,6 @@ +#pragma once + +#include <type_traits> + +template <typename FirstType, typename SecondType> +concept NotSameAs = !std::is_same_v<FirstType, SecondType>; |