operator==,!=<div class="t-tr-text">(Std :: alocador)<div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">Original:</div><div class="t-tr-dropdown-orig">(std::allocator)</div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div>
De cppreference.com
<metanoindex/>
<tbody> </tbody> template< class T1, class T2 > bool operator==( const allocator<T1>& lhs, const allocator<T2>& rhs ); |
||
template< class T1, class T2 > bool operator!=( const allocator<T1>& lhs, const allocator<T2>& rhs ); |
||
Compara dois alocadores padrão. Desde alocadores padrão são apátridas, os alocadores de padrão dois são sempre iguais.
Original:
Compares two default allocators. Since default allocators are stateless, two default allocators are always equal.
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.
1)
true retornosOriginal:
Returns
trueThe 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)
false retornosOriginal:
Returns
falseThe 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.
Parâmetros
| lhs, rhs | - | alocadores padrão para comparar
Original: default allocators to compare The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Valor de retorno
1)
true2)
false