ADTF  3.18.2
adtf::ucom::penguin Namespace Reference

Namespace for all functionality provided since v3.15. More...

Functions

template<typename T >
ant::object_ptr< T > ucom_object_ptr_const_cast (const ant::iobject_ptr< const T > &i_oOther)
 Create an object_ptr with a mutable shared resource of an existing const resource. More...
 

Detailed Description

Namespace for all functionality provided since v3.15.

Function Documentation

◆ ucom_object_ptr_const_cast()

ant::object_ptr<T> adtf::ucom::penguin::ucom_object_ptr_const_cast ( const ant::iobject_ptr< const T > &  i_oOther)

Create an object_ptr with a mutable shared resource of an existing const resource.

Template Parameters
TType of the shared resource of the object_ptr to create
Parameters
[in]i_oOtherThe const source to create the new object_ptr from.
Returns
The new object_ptr managing the shared resource of type const T converted to type T.

Definition at line 265 of file object_ptr_utilities.h.

References iobject_ptr_base< T >::Get().