mc_tasks::lipm_stabilizer::StabilizerTask::EnumClassHash Struct Reference

Workaround a C++11 standard bug: no specialization of the hash functor exists for enum types. Fixed in GCC 6.1 and clang's libc++ in 2013. More...

#include <mc_tasks/lipm_stabilizer/StabilizerTask.h>

Public Member Functions

template<typename T >
std::size_t operator() (T t) const
 

Detailed Description

Workaround a C++11 standard bug: no specialization of the hash functor exists for enum types. Fixed in GCC 6.1 and clang's libc++ in 2013.

See http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#2148

Member Function Documentation

◆ operator()()

template<typename T >
std::size_t mc_tasks::lipm_stabilizer::StabilizerTask::EnumClassHash::operator() ( t) const
inline

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