Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      C++ named requirements:ImplicitLifetimeType

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

      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.

      [edit]Requirements

      The following types are collectively calledimplicit-lifetime types:

      [edit]Notes

      Certain operations mayimplicitly create and start thelifetime of objects of implicit-lifetime types, if doing so would preventundefined behavior. However, such operations do not start the lifetimes of subobjects of such objects that are not themselves of implicit-lifetime types.

      [edit]Defect reports

      The following behavior-changing defect reports were applied retroactively to previously published C++ standards.

      DRApplied toBehavior as publishedCorrect behavior
      CWG 2489C++20an operation that begins the lifetime of achar array implicitly creates objectsit does not
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/named_req/ImplicitLifetimeType&oldid=153643"

      [8]ページ先頭

      ©2009-2025 Movatter.jp