17namespace sequoia::object
20 concept handler =
requires(H& h,
typename H::product_type& x,
const typename H::product_type& cx){
21 typename H::product_type;
22 typename H::value_type;
24 { h.get(x) } -> std::same_as<typename H::value_type&>;
25 { h.get_ptr(x) } -> std::same_as<typename H::value_type*>;
26 { h.get(cx) } -> std::same_as<const typename H::value_type&>;
27 { h.get_ptr(cx) } -> std::same_as<const typename H::value_type*>;
Concepts which are sufficiently general to appear in the sequoia namespace.
Definition: HandlerTraits.hpp:20