Search code examples
Extracting a std::unique_ptr member using std::move(), from a class that is invalid when null: how t...


c++unique-ptrmove-semanticsownership-semantics

Read More
Build error of "No matching constructor for initialization" when initialize share_ptr<T...


c++smart-pointersmingw-w64ownership-semantics

Read More
Why is there no crash when assigning a member widget as the central widget in QMainWindow?...


c++qtqobjectownership-semantics

Read More
Why can I shadow a variable which has been borrowed before? Where is the owner?...


rustborrow-checkerownershipshadowingownership-semantics

Read More
What is the relationship between ui and this in Qt?...


c++qtuser-interfaceownership-semantics

Read More
Movable but non-copyable objects: passing by value vs by rvalue reference?...


c++c++11parameter-passingmove-semanticsownership-semantics

Read More
Why does this "cannot move out of `self.x` which is behind a mutable reference" error happ...


rustmoveborrow-checkerownershipownership-semantics

Read More
vector of string slices goes out of scope but original string remains, why is checker saying there i...


rustownershipownership-semantics

Read More
Pass ownership of an object into method of the same object?...


c++c++14unique-ptrrvalue-referenceownership-semantics

Read More
Conditionally passing ownership for members...


c++move-semanticsownership-semantics

Read More
How to call a method that consumes self on a boxed trait object?...


rustownership-semantics

Read More
Sharing arrays between threads in Rust...


rustownership-semantics

Read More
Moving objects can change the order destructors are called. Why isn't that a problem?...


c++mutexdestructormove-semanticsownership-semantics

Read More
Is there a proper 'ownership-in-a-package' for 'handles' available?...


c++c++11handleraiiownership-semantics

Read More
Is there a way to delete a pointer that has not been assigned with new operator in the destructor? I...


c++pointersmemory-leaksownership-semantics

Read More
How to keep one object alive as long as another object exists?...


c++shared-ptrownership-semantics

Read More
Fire event at changing refcount in PHP...


phpscopeautomatic-ref-countingownership-semantics

Read More
Why does Rust require ownership annotations instead of inferring it?...


rustownership-semantics

Read More
Getting around Rust ownership problems when using state machine pattern...


ruststate-machinelifetimeownership-semantics

Read More
Mutating a struct's fields after a move...


rustaliasmoveownership-semantics

Read More
What does it mean to have sole ownership of object for unique_ptr?...


c++unique-ptrownership-semantics

Read More
Ownership of global resources after fork...


c++forkownership-semantics

Read More
Smart pointers: who owns the object?...


c++memory-managementsmart-pointersownership-semantics

Read More
calling functions which take unique_ptr object...


c++unique-ptrownership-semantics

Read More
How to organize object ownership for class that lives lesser time than owner of the object?...


c++pointersmemory-managementraiiownership-semantics

Read More
Swift unowned self leaking when 'owned' by a view being presented...


swiftmemory-leakspresentmodalviewcontrollerownership-semanticsunowned-references

Read More
Initialization and management of a shared_ptr to base interface...


c++c++14shared-ptrraiiownership-semantics

Read More
What happens when a copy of a shared pointer is created whose object contains a unique pointer?...


c++11smart-pointersownership-semantics

Read More
Cannot move out of borrowed content on enum containing a boxed trait object when deriving PartialEq...


rustownershipownership-semantics

Read More
What is the difference between dereferencing a raw pointer to a String and a raw pointer to an i32?...


pointersrustborrow-checkerownership-semantics

Read More
BackNext