csComparatorStruct< T > Class Template Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

csComparatorStruct< T > Class Template Reference
Containers

Template that can be used as a base class for comparators for POD (plain old data) types. More...

`#include <csutil/comparator.h>`

List of all members.

## Detailed Description

### template<class T>
class csComparatorStruct< T >

Template that can be used as a base class for comparators for POD (plain old data) types.

It uses memcmp() to compare the raw memory representing the two items. Example:

     template<> csComparator<MyStruct> :
       public csComparatorStruct<MyStruct> {};

Definition at line 119 of file comparator.h.

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

- csutil/comparator.h