GEGELATI

Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
UniqueLess< T > Struct Template Reference

A comparator for unique_ptr that compares the pointed-to values. More...

`#include <genericComparator.h>`

## Public Types
using | is_transparent = void
| Type alias to signal that this comparator is transparent.

## Public Member Functions
bool | operator() (const std::unique_ptr< T > &a, const std::unique_ptr< T > &b) const
| Compare two unique_ptr by comparing the pointed-to values.
bool | operator() (const std::unique_ptr< T > &a, const T *b) const
| Compare a unique_ptr and a raw pointer by comparing the pointed-to values.
bool | operator() (const T *a, const std::unique_ptr< T > &b) const
| Compare a raw pointer and a unique_ptr by comparing the pointed-to values.

## Detailed Description

template<typename T>
struct UniqueLess< T >

A comparator for unique_ptr that compares the pointed-to values.

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

- D:/a/gegelati/gegelati/gegelatilib/include/util/genericComparator.h