#include <bn_memory.h>
template<typename Type, typename Deleter>
bn::hash<unique_ptr<Type, Deleter>> struct

Hash support for unique_ptr.

Template parameters
Type Type of the managed object.
Deleter Type of the object which disposes the managed object when the unique_ptr goes out of scope.

Contents

Public functions

auto operator()(const unique_ptr<Type, Deleter>& value) const -> unsigned
Returns the hash of the given unique_ptr.