Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      C++ named requirements:PODType(deprecated in C++20)

      From cppreference.com
      <cpp‎ |named req
       
       
      C++ named requirements
       

      Specifies that the type is POD (Plain Old Data) type. This means the type is compatible with the types used in the C programming language, that is, can be exchanged with C libraries directly, in its binary form.

      Note: the standard doesn't define a named requirement with this name. This is a type category defined by the core language. It is included here as a named requirement only for consistency.

      This type requirement is deprecated in the C++ standard. All of its uses have been replaced by the more refined type requirements, such asTrivialType,ScalarType, orStandardLayoutType.

      (since C++20)

      [edit]Requirements

      The following types are collectively calledPOD types:

      [edit]See also

      (C++11)(deprecated in C++20)
      checks if a type is a plain-old data (POD) type
      (class template)[edit]
      (C++11)
      checks if a type is a scalar type
      (class template)[edit]
      (C++11)(deprecated in C++26)
      checks if a type is trivial
      (class template)[edit]
      checks if a type is astandard-layout type
      (class template)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/named_req/PODType&oldid=145717"

      [8]ページ先頭

      ©2009-2025 Movatter.jp