operator==,!=(std::independent_bits_engine)
Da cppreference.com
< cpp | numeric | random | independent bits engine
![]() | This page has been machine-translated from the English version of the wiki using Google Translate. The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
template<class Engine, size_t w, class UIntType > bool operator==(const independent_bits_engine<Engine,w,UIntType>& lhs, | (1) | (desde C++11) |
template<class Engine, size_t w, class UIntType > bool operator==(const independent_bits_engine<Engine,w,UIntType>& lhs, | (2) | (desde C++11) |
Compara dois pseudo-aleatórios adaptadores de motor de número. Dois adaptadores de motor são iguais, se os motores subjacentes são iguais e seu estado interno (se houver) é igual, isto é, se eles iriam gerar valores equivalentes para qualquer número de chamadas de operator().
Original:
Compares two pseudo-random number engine adaptors. Two engine adaptors are equal, if their underlying engines are equal and their internal state (if any) is equal, that is, if they would generate equivalent values for any number of calls of operator().
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar]Parâmetros
lhs, rhs | - | adaptadores de motor para comparar Original: engine adaptors to compare The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[editar]Valor de retorno
1)
true se os adaptadores de motor são equivalentes, false outra forma.
Original:
true if the engine adaptors are equivalent, false otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
2)
true se os adaptadores de motor não são equivalentes, false outra forma.
Original:
true if the engine adaptors are not equivalent, false otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar]Exceções
(Nenhum)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.