lppl  v2.0.0

◆ transfer()

template<typename D , typename... Out>
void transfer ( record_t< DTypes< Out... >> &  r_out,
std::string  address,
node_t< D > &&  n 
)

Transfers a newly created node into a record of a compatible type.

Template Parameters
Dthe underlying distribution type of the created node
Outthe parameterization of the record to which the transfer occurs
Parameters
r_outthe record to which the transfer occurs
addressthe address to which to transfer the node
nthe node to be transferred
Returns
record_t<DTypes<Out...>>& a reference to the record to which the transfer occurred