std::is_volatile

std::is_volatile

Defined in header <type_traits>
template< class T >
struct is_volatile;
(since C++11)

If T is a volatile-qualified type (that is, volatile, or const volatile), provides the member constant value equal true. For any other type, value is false.

Template parameters

T - a type to check

登录查看完整内容