std::hash<folly::enable_std_hash_helper<folly::Optional<T>, remove_const_t<T>>>::operator()

Computes the hash of an Optional.

Synopsis

Declared in <folly/Optional.h>

size_t
operator()(folly::Optional<T> const& obj) const;

Return Value

The hash of the contained value, or 0 if empty.

Parameters

NameDescription
objThe Optional to hash.