std::type_info::before (3) - Linux Manuals
std::type_info::before: std::type_info::before
NAME
std::type_info::before - std::type_info::before
Synopsis
bool before( const type_info& rhs ) const;
Returns true if the type of this type_info precedes the type of 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.
Parameters
rhs - another type information object to compare to
Return value
true if the type of this type_info precedes the type of rhs in the implementation's collation order.
Example
// Run this code
Possible output:
See also
operator== (public member function)
operator!=