RangeConvertor.destruct

Does not destruct anything since it is not allocating anything.

class RangeConvertor(To, From)
const
void
destruct
(
const TypeInfo from
,
ref Object converted
,
RCIAllocator allocator = theAllocator
)
if (
isForwardRange!From &&
isForwardRange!To
&&
__traits(hasMember, To, "put")
)

Parameters

converted Object

component that should be destroyed.

allocator RCIAllocator

allocator used to allocate converted component.

Meta