Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in object-lifetime

Moving temporary objects into a vector

c++ c++11 object-lifetime

Extending temporary's lifetime, works with block-scoped aggregate, but not through `new`; why?

Is a const reference bound to another reference which is cast from temporary a dangling reference?

C++: lifetime of an object and external functions

Why isn't it undefined behaviour to destroy an object that was overwritten by placement new?

Will a reference bound to a function parameter prolong the lifetime of that temporary?

Destructor call in a comma-separated expression

What is the lifetime and validity of C++ iterators?

.NET: Way to determine if object has any references to it?

Is virtual table creation thread safe?

What is the relationship between the end of object's lifetime and when it ceases to exist?

Private field captured in anonymous delegate

Lifetime of Qt Objects

c++ qt object object-lifetime

When to use PerThreadLifetimeManager?

Manually constructing a trivial base class via placement-new

Is using the result of new char[] or malloc to casted float * is UB (strict aliasing violation)?

Lifetime of object is over before destructor is called?

Extending temporary's lifetime through rvalue data-member works with aggregate, but not with constructor, why?

Struct that owns some data and a reference to the data [duplicate]

MEF keeps reference of NonShared IDisposable parts, not allowing them to be collected by GC