<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>local::basic_endpoint::operator<<</title> <link rel="stylesheet" href="../../../boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.73.2"> <link rel="start" href="../../../index.html" title="Asio"> <link rel="up" href="../local__basic_endpoint.html" title="local::basic_endpoint"> <link rel="prev" href="operator_lt_.html" title="local::basic_endpoint::operator<"> <link rel="next" href="operator_lt__eq_.html" title="local::basic_endpoint::operator<="> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="operator_lt_.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../local__basic_endpoint.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="operator_lt__eq_.html"><img src="../../../next.png" alt="Next"></a> </div> <div class="section" lang="en"> <div class="titlepage"><div><div><h4 class="title"> <a name="asio.reference.local__basic_endpoint.operator_lt__lt_"></a><a class="link" href="operator_lt__lt_.html" title="local::basic_endpoint::operator<<">local::basic_endpoint::operator<<</a> </h4></div></div></div> <p> <a class="indexterm" name="id1064263"></a> Output an endpoint as a string. </p> <pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_ostream</span><span class="special"><</span> <span class="identifier">Elem</span><span class="special">,</span> <span class="identifier">Traits</span> <span class="special">></span> <span class="special">&</span> <span class="keyword">operator</span><span class="special"><<(</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_ostream</span><span class="special"><</span> <span class="identifier">Elem</span><span class="special">,</span> <span class="identifier">Traits</span> <span class="special">></span> <span class="special">&</span> <span class="identifier">os</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">basic_endpoint</span><span class="special"><</span> <span class="identifier">Protocol</span> <span class="special">></span> <span class="special">&</span> <span class="identifier">endpoint</span><span class="special">);</span> </pre> <p> Used to output a human-readable string for a specified endpoint. </p> <a name="asio.reference.local__basic_endpoint.operator_lt__lt_.parameters"></a><h6> <a name="id1064445"></a> <a class="link" href="operator_lt__lt_.html#asio.reference.local__basic_endpoint.operator_lt__lt_.parameters">Parameters</a> </h6> <div class="variablelist"> <p class="title"><b></b></p> <dl> <dt><span class="term">os</span></dt> <dd><p> The output stream to which the string will be written. </p></dd> <dt><span class="term">endpoint</span></dt> <dd><p> The endpoint to be written. </p></dd> </dl> </div> <a name="asio.reference.local__basic_endpoint.operator_lt__lt_.return_value"></a><h6> <a name="id1064499"></a> <a class="link" href="operator_lt__lt_.html#asio.reference.local__basic_endpoint.operator_lt__lt_.return_value">Return Value</a> </h6> <p> The output stream. </p> </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 © 2003 - 2010 Christopher M. Kohlhoff<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt 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="operator_lt_.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../local__basic_endpoint.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="operator_lt__eq_.html"><img src="../../../next.png" alt="Next"></a> </div> </body> </html>