carl  24.04
Computer ARithmetic Library
std::hash< carl::Interval< Number > > Struct Template Reference

Specialization of std::hash for an interval. More...

#include <Interval.h>

Public Member Functions

std::size_t operator() (const carl::Interval< Number > &interval) const
 Calculates the hash of an interval. More...
 

Detailed Description

template<typename Number>
struct std::hash< carl::Interval< Number > >

Specialization of std::hash for an interval.

Definition at line 1547 of file Interval.h.

Member Function Documentation

◆ operator()()

template<typename Number >
std::size_t std::hash< carl::Interval< Number > >::operator() ( const carl::Interval< Number > &  interval) const
inline

Calculates the hash of an interval.

Parameters
intervalAn interval.
Returns
Hash of an interval.

Definition at line 1553 of file Interval.h.

Here is the call graph for this function:

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