|
stmm-games-doc
0.32.0
|
Recycling factory for shared_ptr wrapped classes. More...

Public Member Functions | |
| Recycler () noexcept=default | |
| template<typename ... P> | |
| void | create (shared_ptr< B > &refOutB, P &&... oParam) |
| Construct or recycle the shared_ptr wrapped instance of T. More... | |
Recycling factory for shared_ptr wrapped classes.
|
defaultnoexcept |
|
inline |
Construct or recycle the shared_ptr wrapped instance of T.
T must be same or subclass of B. T must have a constructor T(P&& ... oParam) and public member function reInit(P&& ... oParam) with the same params.
1.8.13