Examples
astro components of this project
Section titled “astro components of this project”FeatureTable
Section titled “FeatureTable”| Feature-test macro | Value | Std | Feature |
|---|---|---|---|
| __cpp_constexpr | 200704L | C++11 | constexpr |
| 201304L | C++14 | aaa (since C++99) | |
| 201603L | C++17 | ||
| 201907L | C++20 | Trivial default initialization and asm-declaration in constexpr functions | |
| __cpp_constexpr_in_decltype | 201711L | C++14 (DR) | Generation of function and variable definitions when needed for constant evaluation |
| __cpp_constexpr_dynamic_alloc | 201907L | C++20 | Operations for dynamic storage duration in constexpr functions |
StdVer
Section titled “StdVer”For path, see path format specification.
(since C++26)
For path, see path format specification.
(until C++11)
For path, see path format specification (since C++26)
Section titled “For path, see path format specification” path format specification
(since C++26)
DeclarationTable
Section titled “DeclarationTable”
Defined in header <print>
println( std::format_string<Args...> fmt, Args&&... args );println( std::format_string<Args...> fmt, Args&&... args );std::format_string<Args...> fmt, Args&&... args );std::format_string<Args...> fmt, Args&&... args ); since C++23
std::format_string<Args...> fmt, Args&&... args );std::format_string<Args...> fmt, Args&&... args ); since C++23
SeeAlso
Section titled “SeeAlso” computes sine (sin(x))(function)
computes tangent (tan(x))(function)
computes arc cosine(arccos(x)) (function)
computes cosine of a complex number ((function template)
cos(z)) applies the function (function template)
std::cos to each element of valarraystyle elements
Section titled “style elements”yyy xxxnote
Section titled “yyy xxxnote”yyyy2
special tables
Section titled “special tables”headless
Section titled “headless”| xx aa For path, see path format specification. (until C++11) | yy |
| aa | bb |