Namespaces
Variants
Actions

C++ identifier with special meaning: post (since C++26)

From cppreference.com
< cpp
 
 
C++ language
General topics
 
Keywords
 

[edit] Usage

function contract specifier: as function postcondition

[edit] Notes

Feature-test macro Value Std Feature
__cpp_contracts 202502L (C++26) Contracts

[edit] Support status

C++26 feature

 
Paper(s)

 
GCC
Clang
MSVC
Apple Clang
EDG eccp
Intel C++
Nvidia HPC C++ (ex PGI)*
Nvidia nvcc
Cray


Contracts  (FTM)* P2900R14

[edit] See also

AltStyle によって変換されたページ (->オリジナル) /