Contract support (C++26)
From cppreference.com
< cpp
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Utilities library
Relational operators (deprecated in C++20)
Integer comparison functions
Swap and type operations
Common vocabulary types
Type support (basic types, RTTI)
Library feature-test macros (C++20)
(C++11)
(C++20)
(C++26)
(C++20)
Coroutine support (C++20)
Contract support (C++26)
(C++20)(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)(C++20)(C++20)
(C++20)(C++20)(C++20)
General utilities
(C++20)(C++20)(C++20)
(C++20)(C++20)(C++20)
(C++20)
Contract support
Contract-violation information
(C++26)
(C++26)
(C++26)
(C++26)
Helper functions
The contract support library defines several types for reporting information about contract violations.
[edit] Contract-violation information
Defined in header
<contracts>
Defined in namespace
std::contracts
[edit] Helper functions
Defined in header
<contracts>
Defined in namespace
std::contracts
[edit] Notes
Feature-test macro | Value | Std | Feature |
---|---|---|---|
__cpp_lib_contracts |
202502L |
(C++26) | Contract support library |