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.

Public functions

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