Template Function Karana::Core::const_pointer_cast#
Defined in File SharedPointer.h
Function Documentation#
Constant pointer cast for ks_ptr. This version just uses the std::const_pointer_cast.
- Template Parameters:
T – The type to cast to.
S – The type to cast from.
- Parameters:
source – The pointer to cast from.
- Returns:
The casted pointer of type T.