Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++11

Is std::swap(x, x) guaranteed to leave x unchanged?

c++ c++11 swap

Why does this code compile with gcc but not with clang

c++ c++11 g++ clang++

Must template argument functions be treated as potentially constexpr?

Lock-free Reference counting and C++ smart pointers

Traversing a tree during compile time, with visiting actions

c++ templates c++11

Dependent type or argument in decltype in function definition fails to compile when declared without decltype

Does extern template prevent inlining of functions?

c++ templates c++11

Quick sort at compilation time using C++11 variadic templates

Lowest common ancestor in a linear lineage of types

Overload resolution and arrays: which function should be called?

C++ Nifty Counter idiom; why?

"Default member initializer needed within definition of enclosing class outside of member functions" - is my code ill-formed?

c++ c++11 language-lawyer

Difference between boost::shared_ptr and std::shared_ptr from the standard <memory> file

c++ boost c++11

passing lambda as argument - by reference or value?

c++ function c++11 lambda c++14

constexpr error at compile-time, but no overhead at run-time

c++ c++11 constexpr c++14

Should we use constexpr everywhere we can?

c++ constexpr c++11

Can I use std::current_exception during stack unwinding?

Why adding `const` makes the universal reference as rvalue

Proper way of transferring ownership of a std::vector< std::unique_ptr< int> > to a class being constructed

Explicitly select copy assignment

c++ c++11