Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

# osgIntrospection::TypeInfoCmp Struct Reference

This predicate compares two instances of std::type_info for equality. More...

List of all members.

## Public Member Functions
bool | operator() (const std::type_info *t1, const std::type_info *t2) const

## Detailed Description

This predicate compares two instances of std::type_info for equality.

Note that we can't rely on default pointer comparison because it is not guaranteed that &typeid(T) always returns the same pointer for a given T (thanks Andrew Koenig).

## Member Function Documentation

bool osgIntrospection::TypeInfoCmp::operator() | ( | const std::type_info * | t1,
|  | const std::type_info * | t2
| ) | const`[inline]`

The documentation for this struct was generated from the following file:

- Reflection