2 ms·
Yes, the functionality was added in C++17, it is quite convenient, before you had to write boilerplate make_X 'constructor' functions. In C++20 this specific d
by gpderetta 6y ago
Yes, the functionality was added in C++17, it is quite convenient, before you had to write boilerplate make_X 'constructor' functions.
In C++20 this specific deduction guide is no longer required as it is implicitly generated for template aggregates, so even less boilerplate.