Espaços nominais
Variantes
Acções

std::chrono::treat_as_floating_point

Da cppreference.com
< cpp‎ | chrono

 
 
Biblioteca de utilitários
Digite apoio (basic types, RTTI, type traits)
Gerenciamento de memória dinâmica
De tratamento de erros
Utilidades do programa
Variadic funções
Data e hora
Objetos de função
initializer_list(C++11)
bitset
hash(C++11)
Os operadores relacionais
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>=
Pares e tuplas
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)
Troque, avançar e avançar
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
Funções de membro
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%=
Não-membros funções
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
Classes auxiliares
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
 
Defined in header <chrono>
template <class Rep>
struct treat_as_floating_point : std::is_floating_point<Rep> {};
(a partir do C++ 11)
O traço std::chrono::treat_as_floating_point ajuda a determinar se a duração pode ser convertido num outro com um período de duração do carrapato diferente.
Original:
The std::chrono::treat_as_floating_point trait helps determine if a duration can be converted to another duration with a different tick period.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Conversões implícitas entre duas durações normalmente depende do período de carrapato das durações. No entanto, as conversões implícitas pode acontecer independentemente do período de carrapato se std::chrono::treat_as_floating_point<Rep>::value == true.
Original:
Implicit conversions between two durations normally depends on the tick period of the durations. However, implicit conversions can happen regardless of tick period if std::chrono::treat_as_floating_point<Rep>::value == true.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.