Nvwa  1.1
List of all members
nvwa::dereference_less Struct Reference

Functor to compare objects pointed by a container of pointers. More...

#include <cont_ptr_utils.h>

Detailed Description

Functor to compare objects pointed by a container of pointers.

vector<Object*> v;
...
sort(v.begin(), v.end(), dereference_less());

or

set<Object*, dereference_less> s;

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