Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      Contract support(C++26)

      From cppreference.com
      <cpp
       
       
      Utilities library
       
      Contract support
      Contract-violation information
      Helper functions
       

      The contract support library defines several types for reporting information aboutcontract violations.

      [edit]Contract-violation information

      Defined in header<contracts>
      Defined in namespacestd::contracts
      the type holding the contract-violation information
      (class)[edit]
      the kind of the contract assertion violated
      (enum)[edit]
      the evaluation semantic when the contract violation occurs
      (enum)[edit]
      the reason that causes the contract violation
      (enum)[edit]

      [edit]Helper functions

      Defined in header<contracts>
      Defined in namespacestd::contracts
      invokes the default contract-violation handler
      (function)[edit]

      [edit]Notes

      Feature-test macroValueStdFeature
      __cpp_lib_contracts202502L(C++26)Contract support library
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/contract&oldid=181860"

      [8]ページ先頭

      ©2009-2025 Movatter.jp