Udostępnij za pośrednictwem


is_standard_layout Class

Tests if type is a standard layout.

template<class Ty>
    struct is_standard_layout;

Parameters

Parameter

Description

Ty

The type to query

Remarks

An instance of this type predicate holds true if the type Ty is a class that has a standard layout of member objects in memory, otherwise it holds false.

Requirements

Header: <type_traits>

Namespace: std

See Also

Reference

<type_traits>

Other Resources

<type_traits> Members