1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>ip::bad_address_cast</title> 5<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="../../boost_asio.html" title="Boost.Asio"> 8<link rel="up" href="../reference.html" title="Reference"> 9<link rel="prev" href="ip__address_v6_range.html" title="ip::address_v6_range"> 10<link rel="next" href="ip__bad_address_cast/bad_address_cast.html" title="ip::bad_address_cast::bad_address_cast"> 11</head> 12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 13<table cellpadding="2" width="100%"><tr> 14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td> 15<td align="center"><a href="../../../../index.html">Home</a></td> 16<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> 17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> 18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> 19<td align="center"><a href="../../../../more/index.htm">More</a></td> 20</tr></table> 21<hr> 22<div class="spirit-nav"> 23<a accesskey="p" href="ip__address_v6_range.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../boost_asio.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="ip__bad_address_cast/bad_address_cast.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> 24</div> 25<div class="section"> 26<div class="titlepage"><div><div><h3 class="title"> 27<a name="boost_asio.reference.ip__bad_address_cast"></a><a class="link" href="ip__bad_address_cast.html" title="ip::bad_address_cast">ip::bad_address_cast</a> 28</h3></div></div></div> 29<p> 30 Thrown to indicate a failed address conversion. 31 </p> 32<pre class="programlisting">class bad_address_cast 33</pre> 34<h5> 35<a name="boost_asio.reference.ip__bad_address_cast.h0"></a> 36 <span class="phrase"><a name="boost_asio.reference.ip__bad_address_cast.member_functions"></a></span><a class="link" href="ip__bad_address_cast.html#boost_asio.reference.ip__bad_address_cast.member_functions">Member 37 Functions</a> 38 </h5> 39<div class="informaltable"><table class="table"> 40<colgroup> 41<col> 42<col> 43</colgroup> 44<thead><tr> 45<th> 46 <p> 47 Name 48 </p> 49 </th> 50<th> 51 <p> 52 Description 53 </p> 54 </th> 55</tr></thead> 56<tbody> 57<tr> 58<td> 59 <p> 60 <a class="link" href="ip__bad_address_cast/bad_address_cast.html" title="ip::bad_address_cast::bad_address_cast"><span class="bold"><strong>bad_address_cast</strong></span></a> <span class="silver">[constructor]</span> 61 </p> 62 </td> 63<td> 64 <p> 65 Default constructor. 66 </p> 67 </td> 68</tr> 69<tr> 70<td> 71 <p> 72 <a class="link" href="ip__bad_address_cast/what.html" title="ip::bad_address_cast::what"><span class="bold"><strong>what</strong></span></a> 73 </p> 74 </td> 75<td> 76 <p> 77 Get the message associated with the exception. 78 </p> 79 </td> 80</tr> 81<tr> 82<td> 83 <p> 84 <a class="link" href="ip__bad_address_cast/_bad_address_cast.html" title="ip::bad_address_cast::~bad_address_cast"><span class="bold"><strong>~bad_address_cast</strong></span></a> <span class="silver">[destructor]</span> 85 </p> 86 </td> 87<td> 88 <p> 89 Destructor. 90 </p> 91 </td> 92</tr> 93</tbody> 94</table></div> 95<h5> 96<a name="boost_asio.reference.ip__bad_address_cast.h1"></a> 97 <span class="phrase"><a name="boost_asio.reference.ip__bad_address_cast.requirements"></a></span><a class="link" href="ip__bad_address_cast.html#boost_asio.reference.ip__bad_address_cast.requirements">Requirements</a> 98 </h5> 99<p> 100 <span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/ip/bad_address_cast.hpp</code> 101 </p> 102<p> 103 <span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio.hpp</code> 104 </p> 105</div> 106<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 107<td align="left"></td> 108<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M. 109 Kohlhoff<p> 110 Distributed under the Boost Software License, Version 1.0. (See accompanying 111 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>) 112 </p> 113</div></td> 114</tr></table> 115<hr> 116<div class="spirit-nav"> 117<a accesskey="p" href="ip__address_v6_range.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../boost_asio.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="ip__bad_address_cast/bad_address_cast.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> 118</div> 119</body> 120</html> 121