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

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

#include <wrapper.h>

Concept definition

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

Detailed Description

Satisfied when a part of Expected is compatible with Type.

A nested layer of Expected (a wrapper) is compatible with Type, meaning Type can be constructed from an inner layer of Expected.

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