refactor(templates): add final specifier for template class

This commit is contained in:
2022-12-30 19:11:01 +08:00
parent 9368a49806
commit e4d59b9832
8 changed files with 13 additions and 13 deletions

View File

@ -84,7 +84,7 @@ using TVariantAlternative = TCopyCV<U, typename NAMESPACE_PRIVATE::TVariantAlter
* holds a value of one of its alternative types, or in the case of invalid - no value.
*/
template <typename... Ts> requires (sizeof...(Ts) > 0 && (true && ... && CDestructible<Ts>))
class TVariant
class TVariant final
{
public: