Struct emplace_back

Struct Documentation

struct fwdpp::emplace_back

An insertion policy Uses object forwarding to add an object of type T into container of type cT (e.g., container<T>)

Public Functions

template<typename T, typename cT>
std::size_t operator()(T &&t, cT &ct) const

Return

the index where the emplaced object is located