| OpenMS 2.5.0

Public Member Functions | List of all members
IteratorWrapper< Iterator > Struct Template Reference

Wrapper that adds `operator<` to iterators, so they can be used as (part of) keys in maps/sets or `multi_index_containers`. More...

`#include <OpenMS/METADATA/ID/MetaData.h>`

Inheritance diagram for IteratorWrapper< Iterator >:

## Public Member Functions

| IteratorWrapper ()
| IteratorWrapper (const Iterator &it)
bool | operator< (const IteratorWrapper &other) const
| operator uintptr_t () const
| Conversion to pointer type for hashing. More...

## Detailed Description

### template<typename Iterator>
struct OpenMS::IdentificationDataInternal::IteratorWrapper< Iterator >

Wrapper that adds `operator<` to iterators, so they can be used as (part of) keys in maps/sets or `multi_index_containers`.

## Constructor & Destructor Documentation

## ◆ IteratorWrapper() [1/2]

IteratorWrapper | ( |  | ) |

inline

## ◆ IteratorWrapper() [2/2]

IteratorWrapper | ( | const Iterator & | it | ) |

inline

## Member Function Documentation

## ◆ operator uintptr_t()

operator uintptr_t | ( |  | ) | const

inline

Conversion to pointer type for hashing.

## ◆ operator<()

bool operator< | ( | const IteratorWrapper< Iterator > & | other | ) | const

inline