MFEM v4.8.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::KernelDispatchKeyHash< KernelParameters > Struct Template Reference

Hashes variadic packs for which each type contained in the variadic pack has a specialization of std::hash available. More...

#include <kernel_dispatch.hpp>

Public Member Functions

size_t operator() (std::tuple< KernelParameters... > value) const
 Returns the hash of the given value.
 

Detailed Description

template<typename ... KernelParameters>
struct mfem::KernelDispatchKeyHash< KernelParameters >

Hashes variadic packs for which each type contained in the variadic pack has a specialization of std::hash available.

For example, packs containing int, bool, enum values, etc.

Definition at line 93 of file kernel_dispatch.hpp.

Member Function Documentation

◆ operator()()

template<typename ... KernelParameters>
size_t mfem::KernelDispatchKeyHash< KernelParameters >::operator() ( std::tuple< KernelParameters... > value) const
inline

Returns the hash of the given value.

Definition at line 111 of file kernel_dispatch.hpp.


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