Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++11

C++ Why can I initialize a static const char but not a static const double in a class definition?

Is there a way to convert std::vector<const T*> to std::vector<T*> without extra allocations?

c++ c++11 vector stl

Why can't we trivially copy std::function

c++ c++11 std-function

Evaluating stream operator >> as boolean

Partial template specialization triggering static_asserts

c++ c++11

How to handle unused warnings caused by empty template parameter pack expansions?

Why does operator* of rvalue unique_ptr return an lvalue?

Storing function pointer in std::function

What rvalues have names?

c++ c++11 named rvalue

Comparing integers of arbitrary types

c++ c++11

std::is_sorted and strictly less comparison?

Why does vector::push_back and emplace_back call value_type::constructor twice?

c++ c++11

Questions regarding C++ non-POD unions

Lambda capture list: capturing object's member field by value not possible without capturing the whole object?

A class name introduced inside a class is not treated as a nested class name

c++ c++11 g++

Is this a universal reference? Does std::forward make sense here?

How can I use type-traits to make this array-to-pointer conversion unambiguous?

c++ c++11 typetraits

Trait to check if some specialization of template class is base class of specific class

How to avoid decay with template parameter deduction

c++ c++11 templates sfinae

How can std::nextafter() in C++11 produce smaller values than std::numeric_limits::min?

c++ c++11