Go to the source code of this file.
Functions | |
template<typename T_DEST , typename T_SRC , typename T_DELETER > | |
std::unique_ptr< T_DEST, T_DELETER > | dynamic_pointer_cast (std::unique_ptr< T_SRC, T_DELETER > &src) |
These are reworked from https://stackoverflow.com/a/11003103. More... | |
template<typename T_DEST , typename T_SRC > | |
std::unique_ptr< T_DEST > | dynamic_pointer_cast (std::unique_ptr< T_SRC > &src) |
std::unique_ptr<T_DEST> dynamic_pointer_cast | ( | std::unique_ptr< T_SRC > & | src | ) |
Definition at line 40 of file CastUniquePointer.h.
std::unique_ptr<T_DEST, T_DELETER> dynamic_pointer_cast | ( | std::unique_ptr< T_SRC, T_DELETER > & | src | ) |
These are reworked from https://stackoverflow.com/a/11003103.
New GitHub Repo here: https://github.com/friedmud/unique_ptr_cast
Definition at line 22 of file CastUniquePointer.h.
Referenced by NonlinearSystemBase::addBoundaryCondition(), NonlinearSystemBase::addKernel(), MooseObjectWarehouse< Indicator >::addObject(), and ComputeMortarFunctor< compute_stage >::ComputeMortarFunctor().