std::chrono::duration::zero

来自cppreference.com

 
 
實用工具庫
類型的支持 (basic types, RTTI, type traits)
動態內存管理
錯誤處理
程序實用工具
可變參數函數
日期和時間
函數對象
initializer_list(C++11)
bitset
hash(C++11)
關係運算符
Original:
Relational operators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
rel_ops::operator!=
rel_ops::operator>
rel_ops::operator<=
rel_ops::operator>=
雙和元組
Original:
Pairs and tuples
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
pair
tuple(C++11)
piecewise_construct_t(C++11)
piecewise_construct(C++11)
掉期,遠期和移動
Original:
Swap, forward and move
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
swap
forward(C++11)
move(C++11)
move_if_noexcept(C++11)
declval(C++11)
 
 
std::chrono::duration
成員函數
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
duration::duration
duration::operator=
duration::count
duration::zero
duration::min
duration::max
duration::operator+
duration::operator-
duration::operator++
duration::operator--
duration::operator+=
duration::operator-=
duration::operator*=
duration::operator/=
duration::operator%=
非成員函數
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
common_type
operator+
operator-
operator*
operator/
operator%
operator==
operator!=
operator<
operator<=
operator>
operator>=
duration_cast
Helper類
Original:
Helper classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
treat_as_floating_point
duration_values
 
static constexpr duration zero();
返回一個零長度的時間.
Original:
Returns a zero-length duration.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
如果rep的持續時間表示需要一些其他的實現返回一個零長度的時間,std::chrono::duration_values返回所需的值,可以專門.
Original:
If the representation rep of the duration requires some other implementation to return a zero-length duration, std::chrono::duration_values can be specialized to return the desired value.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[编辑] 參數

(無)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[编辑] 返回值

返回std::chrono::duration(std::chrono::duration_values<rep>::zero())
Original:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[编辑] 另請參閱

[靜態的] </ SPAN></div></div>
返回的時間值最小
Original:
returns the special duration value min
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(公共靜態成員函數) [edit]
[靜態的] </ SPAN></div></div>
返回特殊的時間價值最大
Original:
returns the special duration value max
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(公共靜態成員函數) [edit]

来自“http://zh.cppreference.com/mwiki/index.php?title=cpp/chrono/duration/zero&oldid=27095