DPsim
Static Public Member Functions | List of all members
SharedFactory< T > Class Template Reference

#include <PtrFactory.h>

Static Public Member Functions

template<typename... Args>
static std::shared_ptr< T > make (Args &&...args)
 

Detailed Description

template<typename T>
class SharedFactory< T >

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.


The documentation for this class was generated from the following file: