Espacios de nombres
Variantes
Acciones

std::error_code::operator bool

De cppreference.com
< cpp‎ | error‎ | error code
 
 
Biblioteca de servicios
 
 
std::error_code
Las funciones miembro
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.
Modificadores
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Los observadores
Original:
Observers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
error_code::operator bool
Terceros funciones
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.
Clases de ayuda
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.
 
explicit operator bool()const;
(desde C++11)
Comprueba si el valor de error es válida, es decir, distinto de cero .
Original:
Checks if the error value is valid, i.e. non-zero.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar]Parámetros

(Ninguno)
Original:
(none)
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

false si value()==0, true de otra manera .
Original:
false if value()==0, true otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar]Excepciones

Especificación noexcept:  
noexcept
  (desde C++11)
close