Espacios de nombres
Variantes
Acciones

std::type_info::before

De cppreference.com
< cpp‎ | types‎ | type info
 
 
Biblioteca de servicios
 
Apoyo de tipos
Tipos básicos
Tipos fundamentales
Tipos enteros de anchura fija (C++11)
Límites numéricos
Interfaz de C de límites numéricos
Información de tipo
en tiempo de ejecución
Rasgos de tipos
Categorías de tipos
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
Propiedades de tipos
(C++11)
(C++11)
(C++14)
(C++11)
(C++11)(hasta C++20)
(C++11)(en desuso en C++20)
(C++11)
Constantes de rasgos de tipos
Metafunciones
(C++17)
Contexto de evaluación constante
Operaciones soportadas
Relaciones y consultas de propiedades
Modificaciones de tipos
(C++11)(C++11)(C++11)
Transformaciones de tipos
(C++11)
(C++11)
(C++17)
(C++11)(hasta C++20)(C++17)
 
std::type_info
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.
type_info::before
 
bool before( const type_info& rhs );
Devoluciones true si el tipo de referencia precede tipo, denominado por rhs en orden de clasificación de la aplicación de. No se dan garantías, en particular, el orden de clasificación puede cambiar entre las invocaciones del mismo programa .
Original:
Returns true if the referred type precedes type, referred to by rhs in the implementation's collation order. No guarantees are given, in particular, the collation order can change between the invocations of the same program.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Contenido

[editar] Parámetros

rhs -
otro objeto de información de tipo para comparar
Original:
another type information object to compare to
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

true si el tipo de referencia precede tipo, denominado por rhs en orden de clasificación de la aplicación de la .
Original:
true if the referred type precedes type, referred to by rhs in the implementation's collation order.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Ejemplo

[editar] Ver también

comprueba si los objetos se refieren al mismo tipo
(función miembro pública) [editar]