
20 Mar
2005
20 Mar
'05
1:39 p.m.
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.