hash< tuple< Ts... > > Struct Template Reference

Enables hashing of std::tuple. More...

#include <RobotComponents/components/MotionPlanning/util/HashingUtil.h>

Public Types

using argument_type = tuple< Ts... >
 the hash operator's argument type. More...
 
using result_type = std::size_t
 the hash operator's result type More...
 

Public Member Functions

result_type operator() (argument_type const &arg) const
 Hashes a tuple. More...
 

Detailed Description

template<class... Ts>
struct std::hash< tuple< Ts... > >

Enables hashing of std::tuple.

Definition at line 138 of file HashingUtil.h.

Member Typedef Documentation

◆ argument_type

using argument_type = tuple<Ts...>

the hash operator's argument type.

Definition at line 143 of file HashingUtil.h.

◆ result_type

using result_type = std::size_t

the hash operator's result type

Definition at line 147 of file HashingUtil.h.

Member Function Documentation

◆ operator()()

result_type operator() ( argument_type const &  arg) const
inline

Hashes a tuple.

Parameters
thetuple to hash
Returns
The tuple's hash

Definition at line 153 of file HashingUtil.h.

+ Here is the call graph for this function:

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