Вопросы по теме 'void-t'

Сочетание void_t и enable_if?
В C++17 , void_t можно легко делать SFINAE с class / struct шаблонами: template <class T, class = void> struct test { static constexpr auto text = "general case"; }; template <class T> struct test<T,...
1488 просмотров