David Abrahams
David Abrahams
writes: We probably ought to define a public referent<T> metafunction in namespace boost which implements that logic, so that people can specialize it.
That's done; the docs still need to be updated to reflect that fact though.
Alright! So I can now specialize boost::referent for my own smart
pointer template:
namespace boost {
template<class T> struct referent