Conceptos C++: PredicadoBinario - cppreference.com
Espacios de nombres
Variantes

Conceptos C++: PredicadoBinario

De cppreference.com
 
 
C + + conceptos
Básica
Original:
Basic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Biblioteca-Wide
Original:
Library-Wide
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Container
Original:
Container
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Elementos contenedores
Original:
Container Elements
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Iterator
Original:
Iterator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Números aleatorios
Original:
Random Numbers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Concurrencia
Original:
Concurrency
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
(C++11)
Otros
Original:
Other
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 

El concepto PredicadoBinario es un set de requerimientos esperados por algunas de las utilidades de la librería estandar de los argumentos dados por el usuario.

Dado un PredicadoBinario pred_bin y un par de iteradores iter1 e iter2 o un iterador iter y un valor value, la expresión pred_bin(*iter1, *iter2) o, respectivamente, pred_bin(*iter, value), debe ser contextualmente convertible a bool.

Además, la evaluación de la expresión no permite la llamada a funciones miembro no constantes de los iteradores derreferenciados.

Requerimientos

Librería estándar

Las siguientes utilidades de la librería estándar esperan un PredicadoBinario el cual no es un tipo Comparación.