a bool

Popularity
500+ learners.
Se evalúa el primer operando del operador condicional y se convierte contextualmente a bool.
The first operand of the conditional operator is evaluated and contextually converted to bool.
Si la condición que está conectada a bool es true, entonces el valor que está conectado a value-true se devuelve como result.
If the condition connected to bool is true, then the value connected to value-true is output as result.
En la estructura de filtro anterior, la condición que está conectada a bool determina si la entrada node/row que está conectado se pasa a la salida on-true o a la salida on-false.
In the structure above, the condition connected to bool determines whether the connected node/row goes to the on-true or on-false output.
Si el operando no es bool, se convierte a bool usando la conversión contextual a bool: solo está bien formado si la declaración bool t(arg) está bien formada, para algunos creados temporalmente t.
If the operand is not bool, it is converted to bool using contextual conversion to bool: it is only well-formed if the declaration bool t(arg) is well-formed, for some invented temporary t.
Una expresión constante convertida según el contexto de tipo bool es una expresión, convertida contextualmente a bool, donde la expresión convertida es una expresión constante y la secuencia de conversión contiene solamente las conversiones anteriores.
A contextually converted constant expression of type bool is an expression, contextually converted to bool, where the converted expression is a constant expression and the conversion sequence contains only the conversions above.
Palabra del día
fresco