Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in object-lifetime

Get notification of object disposal/destruction

c# .net clr object-lifetime

Is there any research on (or better use of) of RAII in GC languages?

Variation on the type punning theme: in-place trivial construction

How to extend lifetime of the local variable or what is right way to use references

Can a const int ref in a constructor safely bind to a literal?

Who owns wrapped streams (e.g. TextWriter) in .NET?

Android - is onDestroy supposed to destroy the activity, its variables and free up memory

c++ Dependency Injection: Object lifetimes?

Why does the variable not live long enough?

Does destroying and recreating an object make all pointers to this object invalid?

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?