From cppreference.com
(C++20)
(C++20)
(C++11)
(C++20)
(C++17)
(C++11)
(C++26)
(C++11)
Compile-time rational arithmetic
(C++11)
Compile-time integer sequences
(C++14)
(C++14)
(C++26)C++ provides metaprogramming facilities, such as type traits, compile-time rational arithmetic, and compile-time integer sequences.
2 Compile-time rational arithmetic
3 Compile-time integer sequences (since C++14)
4 Compile-time reflection (since C++26)
The header
provides
compile-time template-based interfaces to query the properties of types
.
Compile-time rational arithmetic
The header
provides
types and functions for manipulating and storing compile-time ratios
.
Compile-time integer sequences
(since C++14)
(since C++26)
The header
provides
facilities for static reflection and reflective metaprogramming
.