Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++14

Why can't a generic lambda call itself, but wrapping it in a class allows it?

Execute function inside function template only for those types that have the function defined

Two curiosities with the C++ grammar

Why doesn't make_unique work with unique_ptr::reset?

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

Checking if a type is a map

assigning members of a pair to variables

c++ c++11 c++14

Possible gcc bug with C++14 polymorphic lambdas?

c++ gcc lambda clang c++14

Reinterpret cast a template non-type parameter: clang c++14 vs c++1z

c++ clang c++14 c++17

Is there any special reason why the move constructor is not elided in the snippet shown below?

C++ Template overload with enable_if: different behaviour with g++ and clang

I believe clang erroneously allows inline friend function access to data in an enclosing scope. Both gcc and vs2013 reject this code

c++ clang c++14 friend clang++

Static templated constexpr nested class member

Recursive computation using variable templates - gcc vs clang

Pointer-like classes and the ->* operator

VC++14 template ambiguity between pointer to member and pointer to member function

c++ c++14

prototype mismatch with decltype and auto

Is using explicit return type in one translation unit and deduced return type in another allowed?

c++ c++14 language-lawyer auto

Are implementations allowed to add public members to standard types?

Copy initialization of the form '= {}'