borrowObject#
Fully qualified name: carb::borrowObject
Defined in carb/IObject.h
- 
template<class T>
inline ObjectPtr<T> carb::borrowObject(T *other)# Helper function to create carb::ObjectPtr from a carb::IObject pointer by “borrowing” the pointer; that is, by increasing the reference count.
- Parameters:
 other – The raw pointer to reference.
- Returns:
 A smart pointer referencing
other.