|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Basic types | |||||||||||||||||||||
| Fixed width integer types(C++11) | |||||||||||||||||||||
| Fixed width floating-point types(C++23) | |||||||||||||||||||||
| |||||||||||||||||||||
| Numeric limits | |||||||||||||||||||||
| C numeric limits interface | |||||||||||||||||||||
| Runtime type information | |||||||||||||||||||||
| |||||||||||||||||||||
| Member functions | ||||
(until C++20) | ||||
type_info::before | ||||
(C++11) | ||||
bool before(const type_info& rhs)const; | (noexcept since C++11) | |
Returnstrue if the type of thistype_info precedes the type ofrhs in the implementation's collation order. No guarantees are given; in particular, the collation order can change between the invocations of the same program.
Contents |
| rhs | - | another type information object to compare to |
true if the type of thistype_info precedes the type ofrhs in the implementation's collation order.
Possible output:
char goes before int in this implementation.
(removed in C++20) | checks whether the objects refer to the same type (public member function)[edit] |