aboutsummaryrefslogtreecommitdiff
path: root/src/DI/concepts.hpp
blob: 4b2c7f9c4d48223c00f4a4dc89143f321747c384 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

#include "type_traits.hpp"

#include <type_traits>

template <typename Type>
concept Abstract = std::is_abstract_v<Type>;

template <typename Type>
concept IsFactory = is_factory_v<Type>;