LibreOffice Module o3tl (master)  1
Public Member Functions | List of all members
o3tl::less_ptr_to< T > Struct Template Reference

Implements an ordering function over a pointer, where the comparison uses the < operator on the pointed-to types. More...

#include <sorted_vector.hxx>

Public Member Functions

bool operator() (T *const &lhs, T *const &rhs) const
 

Detailed Description

template<class T>
struct o3tl::less_ptr_to< T >

Implements an ordering function over a pointer, where the comparison uses the < operator on the pointed-to types.

Very useful for the cases where we put pointers to objects inside a sorted_vector.

Definition at line 329 of file sorted_vector.hxx.

Member Function Documentation

template<class T >
bool o3tl::less_ptr_to< T >::operator() ( T *const &  lhs,
T *const &  rhs 
) const
inline

Definition at line 331 of file sorted_vector.hxx.


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