Logo Search packages:      
Sourcecode: ardour version File versions  Download package

template<class T_CppObject>
template<class T_CastFrom>
RefPtr< T_CppObject > & Glib::RefPtr< T_CppObject >::operator= ( const RefPtr< T_CastFrom > &  src  )  [inline]

Copy from different, but castable type).

Increments the reference count.

Definition at line 247 of file refptr.h.

References Glib::RefPtr< T_CppObject >::swap().

  RefPtr<T_CppObject> temp (src);
  return *this;

Generated by  Doxygen 1.6.0   Back to index