Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++14

Dealing with painfully long namespace names in headers

As far as I can tell, this code should not compile, according to §5.19/3 and §5.19/2 in C++14

Why do clang and gcc handle braced-initialization of structs with in-class initialization differently?

c++ c++11 gcc clang c++14

Should decltype on a template value parameter trigger a SFINAE context?

Debugger-friendly zero-cost named references to specific locations in an array

c++ c++14

Why is 'this' necessary despite capturing everything

c++ c++14

assigning Rvalue reference to Lvalue reference

c++ c++11 c++14

How to avoid the need to specify deleter for std::shared_ptr every time it's constructed or reset?

Compilation of C++14 in qtcreator

c++ qt qt-creator c++14

Why can a lambda expression return a local enum class type?

Derived class is able to access its base class' private member

c++ c++14 metaprogramming

if-else depends on whether T is a complete type

Is initializing a atomic pointer atomic? What happens if initialization or memory allocation throws?

c++ c++11 c++14

Why does this code get floating point exception when there is no float data-type?

Is decltype of a non-static member function ill-formed?

How to define std::tuple<...> with number of arguments

c++ templates c++14

How to return a std::function that contains a std::unique_ptr from a generalized lambda capture in C++14?

c++ lambda c++14

Is GCC correct in requiring the constexpr specifier for this reference declaration?

How to write a generic variadic lambda that discards its parameters?

clang, returning std::unique_ptr with type conversion

c++ clang c++14