template<typename BlockT>
requires (!std::copy_constructible<BlockT>)
struct mdds::mtv::clone_block< BlockT, std::void_t< decltype(clone_value< typename BlockT::value_type >{})> >
Specialization for non-copyable element block type with valid clone_value specialization for the value type of the block.
Unless the clone_value specialization declares an exec_policy, the values are cloned by a single function object instance strictly in the same order as they are stored in the source, and an exception thrown mid-way destroys the partially built destination block, which for managed blocks also deletes the values cloned so far.
- Parameters
-
| <BlockT> | Element block type which must be non-copyable. |