mxnet
Public Member Functions | List of all members
std::hash< dmlc::optional< T > > Struct Template Reference

std hash function for optional More...

#include <optional.h>

Collaboration diagram for std::hash< dmlc::optional< T > >:
Collaboration graph

Public Member Functions

size_t operator() (const dmlc::optional< T > &val) const
 returns hash of the optional value. More...
 

Detailed Description

template<typename T>
struct std::hash< dmlc::optional< T > >

std hash function for optional

Member Function Documentation

template<typename T >
size_t std::hash< dmlc::optional< T > >::operator() ( const dmlc::optional< T > &  val) const
inline

returns hash of the optional value.

Parameters
valvalue.
Returns
hash code.

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