is_final Class

Visual Studio 2015
 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at is_final Class.

Tests whether the type is a class type marked final.

template <class T>
struct is_final;

Parameters

T
The type to query.

An instance of the type predicate holds true if the type T is a class type marked final, otherwise it holds false. If T is a class type, it must be a complete type.

Header: <type_traits>

Namespace: std

<type_traits>
final Specifier

Show: