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
(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.
(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.
(C++11)
(C++11)
(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.
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
 
Definido no cabeçalho <chrono>
template <class Rep>
struct treat_as_floating_point : std::is_floating_point<Rep> {};
(desde 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.