Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in object-lifetime

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

Function-local static initialization during program exit

Is it safe to pass arguments by reference into a std::thread function?

Does malloc return an "invalid pointer value" in C++17? [duplicate]

checking invariants in C++

A Question On Smart Pointers and Their Inevitable Indeterminism

What is the order of destruction of function parameters?

Is circumventing a class' constructor legal or does it result in undefined behaviour?

Invoking virtual method in constructor: difference between Java and C++

Existence of objects created in C functions

Is the value of `this` pointer constant during the object's lifetime?

C# Thread object lifetime

Is it wrong to use braces for variable scope purposes?

Is it ok to return default argument's value by const reference?

memcpy/memmove to a union member, does this set the 'active' member?

What does it mean for an object to exist in C++?

How to deal with run-time parameters when using lifetime scoping?

How can the type of braces influence object lifetime in C++?