Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++11

Excess elements in struct initializer when nested std::array

c++ c++11

Passing containers by value or by reference

Default-inserting into a vector isn't default initialization?

c++ c++11 vector

Passing inline functions as arguments

c++ c++11

Template parameter - function pointer with variadic arguments

Template class method does not cause error -- is this part of the standard?

c++ templates c++11

What is result of comparison of double and NaN?

c++ c++11 nan

Iterating over a single lvalue

c++ c++11 iterator

Why C++ strings do not need std::forward to call the desired function?

How `weak_ptr` and `shared_ptr` accesses are atomic

Returning non-copyable non-movable object with explicit constructor

c++ c++11

Wrapper to build std::unique_ptr with plain function deleters

c++ c++11 templates c++14

How to invoke an overloaded parent cout friend class from a derived class?

c++ class oop c++11 inheritance

Assign smart pointer in condition or loop

c++ c++11 unique-ptr

usage of this pointer in std::bind

c++ c++11

C++ cannot call lambda expression from map

c++ c++11

Does std::vector.push_back(std::move(foo)) make sense?

c++11 stl move-semantics

Do rvalue references have the same overhead as lvalue references?

How do I make for_each work with templates?

defining destructor in a class derived from move-only type gives compile-time error when created with emplace_back or push_back of std::vector