carl  24.04
Computer ARithmetic Library
std::hash< carl::UnivariatePolynomial< Coefficient > > Struct Template Reference

Specialization of std::hash for univariate polynomials. More...

#include <UnivariatePolynomial.h>

Public Member Functions

std::size_t operator() (const carl::UnivariatePolynomial< Coefficient > &p) const
 Calculates the hash of univariate polynomial. More...
 

Detailed Description

template<typename Coefficient>
struct std::hash< carl::UnivariatePolynomial< Coefficient > >

Specialization of std::hash for univariate polynomials.

Definition at line 848 of file UnivariatePolynomial.h.

Member Function Documentation

◆ operator()()

template<typename Coefficient >
std::size_t std::hash< carl::UnivariatePolynomial< Coefficient > >::operator() ( const carl::UnivariatePolynomial< Coefficient > &  p) const
inline

Calculates the hash of univariate polynomial.

Parameters
pUnivariatePolynomial.
Returns
Hash of p.

Definition at line 854 of file UnivariatePolynomial.h.

Here is the call graph for this function:

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