"ScL Feature"/
ScL Feature 0.0.1
C++20 composable proxy wrapper with pluggable executor strategy
Loading...
Searching...
No Matches
wrapper.h
1#pragma once
2
3#include <scl/feature/type_traits/wrapper.h>
4#include <scl/utility/concepts/reference.h>
5
7{
19 template <typename Type>
21
38 template <typename Type>
39 concept wrapper_reference = ::scl::concepts::reference<Type> && wrapper<Type>;
40
52 template <typename Type>
54
71 template <typename Expected, typename Type>
73
91 template <typename Expected, typename Type>
93
111 template <typename Expected, typename Type>
113
124 template <typename Target, typename Refer>
126} // namespace scl::feature::concepts
Satisfied when Type is compatible with a part of Expected.
Definition wrapper.h:92
Satisfied when Type is compatible with Expected.
Definition wrapper.h:72
Satisfied when Target is convertible from Refer directly or through any level of the wrapper chain.
Definition wrapper.h:125
Satisfied when T is not a wrapper specialization.
Definition wrapper.h:53
Satisfied when a part of Expected is compatible with Type.
Definition wrapper.h:112
Satisfied when Type is a reference to a wrapper specialization.
Definition wrapper.h:39
Satisfied when T is a wrapper specialization.
Definition wrapper.h:20
constexpr bool is_convertible_from_v
Checks whether Target is convertible from Refer directly or through any level of the wrapper chain.
Definition wrapper.h:211
constexpr bool is_part_compatible_with_v
Checks whether Test (a wrapper) recursively contains a value that is compatible with Expected (also a...
Definition wrapper.h:150
constexpr bool is_compatible_with_v
Checks whether Test is compatible with (usable in place of) Expected.
Definition wrapper.h:68
constexpr bool is_compatible_with_part_of_v
Checks whether Expected (a wrapper) recursively contains a value that is compatible with Test (also a...
Definition wrapper.h:107
constexpr bool is_wrapper_v
Checks whether Type is a wrapper specialization.
Definition wrapper.h:32
C++20 concepts for ScL Feature types.