forked from boostorg/core
25 lines
1.3 KiB
HTML
25 lines
1.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<title><boost/utility/addressof.hpp> Header Documentation</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
</head>
|
|
<body bgcolor="white" style="MARGIN-LEFT: 5%; MARGIN-RIGHT: 5%">
|
|
<p><a href="../../index.htm"> <img src="../../boost.png" alt="boost.png (6897 bytes)" width="277" height="86" border="0" /></a></p>
|
|
<h1><code><boost/utility/addressof.hpp></code></h1>
|
|
<p>
|
|
The header <code><boost/utility/addressof.hpp></code> defines the function template <code>boost::addressof</code>.
|
|
<code>boost::addressof(x)</code> returns the address of <code>x</code>. Ordinarily, this address can be obtained by
|
|
<code>&x</code>, but the unary <code>&</code> operator can be overloaded.
|
|
</p>
|
|
<p>
|
|
<code>boost::addressof</code> was originally contributed by Brad King based on ideas from discussion with Doug Gregor.
|
|
</p>
|
|
<hr />
|
|
<p>
|
|
<small>Copyright © 2014 by Peter Dimov. Distributed under the Boost Software License, Version
|
|
1.0. See accompanying file <a href="../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or
|
|
copy at <a href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</a>.</small></p>
|
|
</body>
|
|
</html>
|