Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++14

SFINAE for class methods

c++ oop templates c++14 sfinae

Explicitly defaulting a templated constructor

Perfect forwarding to a member function of a data member?

c++ member auto forwarding c++14

Make C++ std::string end at specified character?

c++ string c++11 c++14

How to best solve "void foo( const T& t = T() )" when T==void

c++ templates c++14 c++17 void

How can I use templates to deduce the parameter types of a std::function?

Function returning its argument or checking for nullptr

c++ c++11 c++14 c++17

What are defaulted destructors used for?

c++ c++14

How to insert a tuple into a map?

Deduce type of reference template parameter

c++ c++11 c++14 c++17

Calling a function from a function pointer in an iterator

c++ pointers c++14

Recursive enable_if and type transform

Why can the callable returned from std::mem_fn be used on objects and on shared_ptrs?

c++ c++11 c++14

enable_if template param is lambda (with particular signature)

What is the purpose of _t aliases and _v variable templates for type traits?

How to sort values in a map in C++

Generic algorithm implementation to select a random subset

Does a constant reference member variable in an anonymous struct extend the lifetime of a temporary?