<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.13"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>libstdc++: __gnu_cxx::forced_error Struct Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">libstdc++ </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.13 --> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('a09337.html','');}); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="a09334.html">List of all members</a> </div> <div class="headertitle"> <div class="title">__gnu_cxx::forced_error Struct Reference<div class="ingroups"><a class="el" href="a01416.html">Diagnostics</a> » <a class="el" href="a01418.html">Exceptions</a></div></div> </div> </div><!--header--> <div class="contents"> <div class="dynheader"> Inheritance diagram for __gnu_cxx::forced_error:</div> <div class="dyncontent"> <div class="center"><iframe scrolling="no" frameborder="0" src="a09336.svg" width="166" height="110"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe> </div> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a13ea7bcad59eab4379990a7322b17672"><td class="memItemLeft" align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01593.html#a13ea7bcad59eab4379990a7322b17672">what</a> () const noexcept</td></tr> <tr class="separator:a13ea7bcad59eab4379990a7322b17672"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Thown by exception safety machinery. </p> <p class="definition">Definition at line <a class="el" href="a01037_source.html#l00074">74</a> of file <a class="el" href="a01037_source.html">throw_allocator.h</a>.</p> </div><h2 class="groupheader">Member Function Documentation</h2> <a id="a13ea7bcad59eab4379990a7322b17672"></a> <h2 class="memtitle"><span class="permalink"><a href="#a13ea7bcad59eab4379990a7322b17672">◆ </a></span>what()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual const char* std::exception::what </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns a C-style character string describing the general cause of the current error. </p> <p>Reimplemented in <a class="el" href="a02569.html#adc08d09b07e62fe8943fdda5ab8f56af">std::bad_function_call</a>, <a class="el" href="a05213.html#a7ab1e57574a1dff9cdf603041cbe628a">std::ios_base::failure</a>, <a class="el" href="a03225.html#a45f5b9c4b7141ac429bf6ea99a7ff6bf">std::runtime_error</a>, <a class="el" href="a01625.html#ad423bab305d43240e9798c55778ca199">std::bad_typeid</a>, <a class="el" href="a01621.html#a06dd9ba98e54d468ba243e7354c52714">std::bad_cast</a>, <a class="el" href="a03205.html#af5a397ba77e968fba6aca8cc6c77b171">std::logic_error</a>, <a class="el" href="a02653.html#a95833ed17fb6f056709e29abdc50f50c">std::future_error</a>, <a class="el" href="a01597.html#a01e2c7a741b840a9ea27789d50e9d65c">std::bad_exception</a>, <a class="el" href="a06121.html#adfea1fffacfb8c9c39f374e16ec7315c">std::bad_weak_ptr</a>, <a class="el" href="a08697.html#a1304de0136b22b9b0949cd329de37d9e">std::experimental::fundamentals_v1::bad_any_cast</a>, and <a class="el" href="a01605.html#a3559b1691d8a8138d5fb7aa79ac06cbe">std::bad_alloc</a>.</p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="a01037_source.html">throw_allocator.h</a></li> </ul> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="a01493.html">__gnu_cxx</a></li><li class="navelem"><a class="el" href="a09337.html">forced_error</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> </ul> </div> </body> </html>