std::logical_not
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody>| Elemento definito nell'header <functional>
|
||
template< class T > struct logical_not; |
||
Oggetto funzione per l'esecuzione di logica NOT (negazione logica). Chiede efficace
operator! per T tipo.Original:
Function object for performing logical NOT (logical negation). Effectively calls
operator! for type T.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.
Indice
Membri tipi
Tipo
Original: Type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
result_type
|
bool
|
argument_type
|
T
|
Membri funzioni
operator() |
restituisce il NOT logico dell'argomento Original: returns the logical NOT of the argument The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) |
std :: logical_not ::Original:std::logical_not::The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.operator()
<tbody>
</tbody>Original:
std::logical_not::
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.
bool operator()( const T& arg ) const; |
||
Returns the logical NOT of arg.
Parameters
| arg | - | per calcolare il valore di NOT logico
Original: value to compute logical NOT of The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Return value
The result of !arg.
Exceptions
(none)
Possible implementation
bool operator()(const T &arg) const
{
return !arg;
}
|