[gtkmm] Glib::RefPtr construction



In reading through the source for Glib::RefPtr I note that the constructor

   RefPtr<T_CppObject>::RefPtr(T_CppObject* pCppObject)

Does not increase the reference count of the referenced object, though all other means of assigning a value to a RefPtr (including the assignment operator that takes a pointer) do increase the reference count. Is this intentional, or is it an accidental omission?

..mj




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]