"ScL Feature"/
ScL Feature 0.0.1
C++20 composable proxy wrapper with pluggable executor strategy
Loading...
Searching...
No Matches
scl::feature::concepts::compatible_with_part_of Concept Reference

Satisfied when Type is compatible with a part of Expected. More...

#include <wrapper.h>

Concept definition

template<typename Expected, typename Type>
Satisfied when Type is compatible with a part of Expected.
Definition wrapper.h:92
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

Detailed Description

Satisfied when Type is compatible with a part of Expected.

Type (a wrapper) is compatible with a nested layer of Expected, meaning Expected can be constructed with Type as its value argument.

Template Parameters
ExpectedThe target wrapper type.
TypeThe source type to check.
using WW = wrapper<W, plain>;
Satisfied when T is a wrapper specialization.
Definition wrapper.h:20