From cppreference.com
This header was originally in the C standard library (
).
This header is part of the
library, in particular, it provides several function templates for
.
It is unspecified whether <stdckdint.h> provides any declarations in namespace std.
Functions
(C++26)
checked addition operation on two integers
(function template)
(C++26)
checked subtraction operation on two integers
(function template)
(C++26)
checked multiplication operation on two integers
(function template)
Synopsis
#define __STDC_VERSION_STDCKDINT_H__ 202311Ltemplate<classtype1,classtype2,classtype3>boolckd_add(type1*result,type2a,type3b);template<classtype1,classtype2,classtype3>boolckd_sub(type1*result,type2a,type3b);template<classtype1,classtype2,classtype3>boolckd_mul(type1*result,type2a,type3b);