Panda3D

Loading...
Searching...
No Matches
Public Member Functions | List of all members
indirect_less< Key > Class Template Reference

An STL function object class, this is intended to be used on any ordered collection of pointers to classes that contain an operator <() method. More...

`#include "stl_compares.h"`

Inheritance diagram for indirect_less< Key >:

## Public Member Functions
bool | operator() (const Key &a, const Key &b) const
| Returns true if a sorts before b, false otherwise.

## Detailed Description

template<class Key>
class indirect_less< Key >

An STL function object class, this is intended to be used on any ordered collection of pointers to classes that contain an operator <() method.

It defines the order of the pointers via operator <().

Definition at line 85 of file stl_compares.h.

## Member Function Documentation

## ◆ operator()()

template<class Key>

bool indirect_less< Key >::operator() | ( | const Key & | a,
|  | const Key & | b ) const
| inline

Returns true if a sorts before b, false otherwise.

Definition at line 55 of file stl_compares.I.

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

- dtool/src/dtoolbase/stl_compares.h
- dtool/src/dtoolbase/stl_compares.I