Compute a hash_code for an optional value.
Synopsis
Declared in <llvm/ADT/Hashing.h>
template<typename T>
hash_code
hash_value(std::optional<T> const& arg);
Return Value
A hash_code for the engaged state and value of arg.
Parameters
Name |
Description |
arg |
Optional whose engaged state and value are hashed. |
Created with MrDocs