mdds
Loading...
Searching...
No Matches
mdds::mtv::stateful_clone_value Concept Reference

#include <types.hpp>

Concept definition

template<typename CV>
concept stateful_clone_value = detail::is_clone_value_v<CV> && !detail::has_exec_policy<CV>
Definition types_util.hpp:71
Definition types.hpp:290

Detailed Description

A clone_value specialization that declares no exec_policy. Such a specialization may carry state across the elements it clones, and an instance of it may be passed by the caller to be used in place of the block-local instance. A specialization with an exec_policy is stateless by contract, so there is no state to pass.