Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++11

Why do we use std::function in C++ rather than the original C function pointer? [duplicate]

c++ c++11 function-pointers

Always declare std::mutex as mutable in C++11?

Is constexpr-based computation Turing complete?

Properly initialising variables in modern C++ (C++11 and above), using () or {}?

c++ c++11 initialization

In C++11, what is the point of a thread which "does not represent a thread of execution"?

c++ multithreading c++11

Recursive variable declaration

Why can const members be modified in a constructor?

How to pass deleter to make_shared?

Access index in range-for loop

c++ c++11

Avoid exponential grow of const references and rvalue references in constructor

Partial specialization of variadic templates

C++ union element size based on other's element size

c++ c++11

Why doesn't `std::initializer_list` provide a subscript operator?

Converting std::unique_ptr<Derived> to std::unique_ptr<Base>

c++ c++11 unique-ptr c++14

Why couldn't push_back be overloaded to do the job of emplace_back?

c++ c++11

Why does moving a pointer variable not set it to null?

C++11 use-case for piecewise_construct of pair and tuple?

How to atomically update a maximum value?

c++ c++11 concurrency atomic max

Is the specification of `bsearch` in C++11 & C++14 defective?

What happens technically in this C++ code?

c++ c++11