$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [hash] hashing of smart pointer types - prevent conversion to bool?
From: Igor R (boost.lists_at_[hidden])
Date: 2010-07-06 08:52:03
> One idea is to patch the boost headers to add a hash function for each of
> the smart pointer types (as per the example above) but there must be a better answer than this?
Technically, you can define hash functions in your own headers, in
boost namespace (that's what I do). I'm not sure about legal aspects
of this though.