#include <bn_optional.h>
template<typename Type>
hash<optional<Type>> struct
Hash support for optional.
Template parameters | |
---|---|
Type | Type of the contained value. |
Public functions
- auto operator()(const optional<Type>& optional) const -> unsigned constexpr
- Returns the hash of the given optional.