carl  24.04
Computer ARithmetic Library
carl::hash_inserter< T > Struct Template Reference

Utility functor to hash a sequence of object using an output iterator. More...

#include <hash.h>

Public Types

using difference_type = void
 
using pointer = void
 
using reference = void
 
using value_type = void
 
using iterator_category = std::output_iterator_tag
 

Public Member Functions

hash_inserteroperator= (const T &t)
 
hash_inserteroperator* ()
 
hash_inserteroperator++ ()
 
const hash_inserter operator++ (int)
 

Data Fields

std::size_t & seed
 

Detailed Description

template<typename T>
struct carl::hash_inserter< T >

Utility functor to hash a sequence of object using an output iterator.

Definition at line 81 of file hash.h.

Member Typedef Documentation

◆ difference_type

template<typename T >
using carl::hash_inserter< T >::difference_type = void

Definition at line 82 of file hash.h.

◆ iterator_category

template<typename T >
using carl::hash_inserter< T >::iterator_category = std::output_iterator_tag

Definition at line 86 of file hash.h.

◆ pointer

template<typename T >
using carl::hash_inserter< T >::pointer = void

Definition at line 83 of file hash.h.

◆ reference

template<typename T >
using carl::hash_inserter< T >::reference = void

Definition at line 84 of file hash.h.

◆ value_type

template<typename T >
using carl::hash_inserter< T >::value_type = void

Definition at line 85 of file hash.h.

Member Function Documentation

◆ operator*()

template<typename T >
hash_inserter& carl::hash_inserter< T >::operator* ( )
inline

Definition at line 93 of file hash.h.

◆ operator++() [1/2]

template<typename T >
hash_inserter& carl::hash_inserter< T >::operator++ ( )
inline

Definition at line 94 of file hash.h.

◆ operator++() [2/2]

template<typename T >
const hash_inserter carl::hash_inserter< T >::operator++ ( int  )
inline

Definition at line 95 of file hash.h.

◆ operator=()

template<typename T >
hash_inserter& carl::hash_inserter< T >::operator= ( const T &  t)
inline

Definition at line 89 of file hash.h.

Here is the call graph for this function:

Field Documentation

◆ seed

template<typename T >
std::size_t& carl::hash_inserter< T >::seed

Definition at line 88 of file hash.h.


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