<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Reference</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> <link rel="up" href="../ref.html" title="Chapter 16. Boost.Ref"> <link rel="prev" href="../ref.html" title="Chapter 16. Boost.Ref"> <link rel="next" href="../boost/reference_wrapper.html" title="Class template reference_wrapper"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td> <td align="center"><a href="../../../index.html">Home</a></td> <td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="../ref.html"><img src="../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../boost/reference_wrapper.html"><img src="../../../doc/html/images/next.png" alt="Next"></a> </div> <div class="section" title="Reference"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="ref.reference"></a>Reference</h2></div></div></div> <div class="toc"><dl><dt><span class="section"><a href="reference.html#header.boost.ref_hpp">Header <boost/ref.hpp></a></span></dt></dl></div> <div class="section" title="Header <boost/ref.hpp>"> <div class="titlepage"><div><div><h3 class="title"> <a name="header.boost.ref_hpp"></a>Header <<a href="../../../boost/ref.hpp" target="_top">boost/ref.hpp</a>></h3></div></div></div> <pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost { <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> T> <span class="bold"><strong>class</strong></span> <a class="link" href="../boost/reference_wrapper.html" title="Class template reference_wrapper">reference_wrapper</a>; <span class="type">reference_wrapper<T></span> <a class="link" href="../boost/reference_wrapper.html#boost.ref_id1144444">ref</a>(T&); <span class="type">reference_wrapper<T <span class="bold"><strong>const</strong></span>></span> <a class="link" href="../boost/reference_wrapper.html#boost.cref_id1144472">cref</a>(T <span class="bold"><strong>const</strong></span>&); <span class="type">unwrap_reference<T>::type&</span> <a class="link" href="../boost/reference_wrapper.html#boost.unwrap_ref">unwrap_ref</a>(T&); <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> T> <span class="bold"><strong>class</strong></span> <a class="link" href="../boost/is_reference_wrapper.html" title="Class template is_reference_wrapper">is_reference_wrapper</a>; <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> T> <span class="bold"><strong>class</strong></span> <a class="link" href="../boost/unwrap_reference.html" title="Class template unwrap_reference">unwrap_reference</a>; }</pre> </div> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright © 1999, 2000 Jaakko Järvi<br>Copyright © 2001, 2002 Peter Dimov<br>Copyright © 2002 David Abrahams<p>Subject to the Boost Software License, Version 1.0. See accompanying file <code class="filename">LICENSE_1_0.txt</code> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>. </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="../ref.html"><img src="../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../boost/reference_wrapper.html"><img src="../../../doc/html/images/next.png" alt="Next"></a> </div> </body> </html>