DPsim
|
#include <PtrFactory.h>
Static Public Member Functions | |
template<typename... Args> | |
static std::shared_ptr< T > | make (Args &&...args) |
Curiously recurring template pattern (CRTP) to create create new shared_ptr instances. See: https://en.wikipedia.org/wiki/Curiously_recurring_template_pattern
Definition at line 16 of file PtrFactory.h.