...
This commit is contained in:
parent
36ffde80f5
commit
460fc360c6
@ -744,6 +744,13 @@ template <typename T>
|
||||
concept mcc_prohibited_zone_c =
|
||||
std::derived_from<T, mcc_pzone_interface_t<typename T::error_t>> && requires(const T t_const) {
|
||||
{ t_const.name() } -> std::formattable<char>;
|
||||
|
||||
requires requires(typename T::pzone_policy_t pp) {
|
||||
[]() {
|
||||
static constexpr auto v1 = T::pzone_policy_t::STOP_POLICY;
|
||||
static constexpr auto v2 = T::pzone_policy_t::FLIP_POLICY;
|
||||
}();
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user