constexpr common_type_t<duration> operator+() const;
概要
正の符号。
なにもせず、*this
をそのまま返す。
戻り値
common_type_t<duration>(*this)
例
出力
2
2
バージョン
言語
- C++11
処理系
- GCC: 4.5.1, 4.6.1
- Visual C++: 2012, 2013, 2015
constexpr common_type_t<duration> operator+() const;
正の符号。
なにもせず、*this
をそのまま返す。
common_type_t<duration>(*this)
2
2