CGRA-ME
Public Member Functions | Public Attributes | List of all members
SingleItemImmutableSet< VertexID > Struct Template Reference

#include <Collections.h>

Public Member Functions

auto begin () const
 
auto end () const
 
template<typename Q >
auto find (const Q &q) const
 
template<typename Q >
std::ptrdiff_t count (const Q &q)
 

Public Attributes

const VertexID v
 

Detailed Description

template<typename VertexID>
struct SingleItemImmutableSet< VertexID >

For when you want something that behaves similar to a std::.*set, but with just one element.

Definition at line 125 of file Collections.h.

Member Function Documentation

◆ begin()

template<typename VertexID >
auto SingleItemImmutableSet< VertexID >::begin ( ) const
inline

Definition at line 128 of file Collections.h.

◆ count()

template<typename VertexID >
template<typename Q >
std::ptrdiff_t SingleItemImmutableSet< VertexID >::count ( const Q &  q)
inline

Definition at line 132 of file Collections.h.

◆ end()

template<typename VertexID >
auto SingleItemImmutableSet< VertexID >::end ( ) const
inline

Definition at line 129 of file Collections.h.

◆ find()

template<typename VertexID >
template<typename Q >
auto SingleItemImmutableSet< VertexID >::find ( const Q &  q) const
inline

Definition at line 131 of file Collections.h.

Member Data Documentation

◆ v

template<typename VertexID >
const VertexID SingleItemImmutableSet< VertexID >::v

Definition at line 126 of file Collections.h.


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