Categories
c++ c++-faq member-functions

What are all the member-functions created by compiler for a class? Does that happen all the time?

Categories
c++-faq c++11 shared-ptr weak-ptr

When is std::weak_ptr useful?

Categories
c++ c++-faq optimization performance stl

How to overload std::swap()

Categories
c++ c++-faq c++17 memory stdlaunder

What is the purpose of std::launder?

Categories
c++ c++-faq memory-leaks new-operator pointers

Why does the use of ‘new’ cause memory leaks?

Categories
auto-ptr c++ c++-faq raii stl

Why is it wrong to use std::auto_ptr with standard containers?

Categories
c++ c++-faq reference

Is the practice of returning a C++ reference variable evil?

Categories
algorithm c++ c++-faq c++14 sorting

How to implement classic sorting algorithms in modern C++?

Categories
c++ c++-faq turbo-c++

Why doesn’t a simple “Hello World”-style program compile with Turbo C++?

Categories
c++ c++-faq marshalling serialization

How do you serialize an object in C++?