typename
can be used as an alternative to class to declare type template parameters and template template parameters (since C++17). typename
can be used to declare that a dependent qualified name is a type. typename
can be used before a non-dependent qualified type name. It has no effect in this case.
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/keywords/typename