Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-03-20 08:39:34

Thorsten Ottosen wrote:
> Is there any reason address_of is not defined for shared_ptr,
> scoped_ptr etc.?

I've no idea what you mean, sorry. addressof(x) is an alias for &x that
works in the presence of overloaded operator& and is defined for every
object type. It should probably also support function types, but the current
implementation does not.

Boost list run by bdawes at, gregod at, cpdaniel at, john at