1
0
forked from boostorg/core
Files
boost_core/addressof.html

25 lines
1.3 KiB
HTML
Raw Normal View History

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>&lt;boost/utility/addressof.hpp&gt; 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>&lt;boost/utility/addressof.hpp&gt;</code></h1>
<p>
The header <code>&lt;boost/utility/addressof.hpp&gt;</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>&amp;x</code>, but the unary <code>&amp;</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 <20> 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>