#chrono
<chrono>
ヘッダは、時間に関するユーティリティとして機能する関数・クラスを提供する。このヘッダに含まれる関数・クラスは、std::chrono
名前空間で定義される。
duration |
時間の単位(class template) |
time_point |
時間軸上の一点(class template) |
treat_as_floating_point |
duration 内部表現の型が浮動小数点型かを判定するためのトレイト(class template) |
duration_values |
duration 内部表現の特別な値を取得するためのトレイト(class template) |
duration_cast |
分解能の低いdurationへの変換 |
time_point_cast |
分解能の低いduration を内部表現に持つtime_point への変換 |
operator+ |
加算(function template) |
operator- |
減算(function template) |
operator* |
乗算(function template) |
operator/ |
除算(function template) |
operator% |
剰余算(function template) |
operator== |
等値判定を行う(function template) |
operator!= |
非等値判定を行う(function template) |
operator< |
左辺が右辺より小さいか判定を行う(function template) |
operator<= |
左辺が右辺以下かの判定を行う(function template) |
operator> |
左辺が右辺より大きいか判定を行う(function template) |
operator>= |
左辺が右辺以上かの判定を行う(function template) |
nanoseconds |
ナノ秒を表現するためのdurationの別名(typedef) |
microseconds |
マイクロ秒を表現するためのdurationの別名(typedef) |
milliseconds |
ミリ秒を表現するためのdurationの別名(typedef) |
seconds |
秒を表現するためのdurationの別名(typedef) |
minutes |
分を表現するためのdurationの別名(typedef) |
hours |
時を表現するためのdurationの別名(typedef) |
system_clock |
システム時間のクロック(class) |
steady_clock |
時間が逆行しないクロック(class) |
high_resolution_clock |
高分解能クロック(class) |
##バージョン ###言語
- C++11