| std | ||||
(C++11) | ||||
(C++26) | ||||
(C++17) | ||||
(C++17) | ||||
(C++26) | ||||
(C++14) | ||||
(C++20) | ||||
(C++11) | ||||
(C++17) | ||||
(C++20) | ||||
(C++11) | ||||
(deprecated in C++20) | ||||
(C++11) | ||||
| Macros | ||||
| Removed symbols(Zombie names) | ||||
| Exposition-only symbols |
std::literals::chrono_literals (C++14) | ||||
This page tries to list all the symbols that are available from thestandard library (date and time library) in the namespacestd::literals::chrono_literals. The symbols are written as follows:
().<>.Contents |
These operators are declared in the namespacestd::literals::chrono_literals, where bothliterals andchrono_literals areinline namespaces. Access to these operators can be gained with:
In addition, within the namespacestd::chrono, the directiveusingnamespace literals::chrono_literals; is provided by thestandard library, so that if a programmer usesusingnamespace std::chrono; to gain access to the classes in thechrono library, the corresponding literal operators become visible as well.
DHMNSUYd(since C++20)
h(since C++14)
min(since C++14)
ms(since C++14)
ns(since C++14)
s(since C++14)
us(since C++14)
y(since C++20)