1
0
forked from boostorg/core
Files
boost_core/doc/addressof.qbk
2014-06-02 00:46:33 -07:00

12 lines
411 B
Plaintext

[section:addressof Header <boost/core/addressof.hpp>]
The header `<boost/core/addressof.hpp>` defines the function
template `boost::addressof`. `boost::addressof(x)` returns the
address of `x`. Ordinarily, this address can be obtained by
`&x`, but the unary `&` operator can be overloaded.
`boost::addressof` was originally contributed by Brad King
based on ideas from discussion with Doug Gregor.
[endsect]