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

Name

Description

obj

The Optional to hash.

Created with MrDocs