Template argument deduction for class template constructors -- Simon Brand
Showing how to use C++17 template argument deduction for constructors to get rid of those pesky make
functions.
Template argument deduction for class template constructors
by Simon Brand
From the article:
Have you ever found yourself writing std::make_pair or std::make_move_iterator and wondering why we need a helper function to create these objects for us? The answer is a lack of template argument deduction for class template constructors.
[...]
Fortunately, this feature is coming in C++17!