<!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"/> <title>libstdc++: __gnu_cxx::throw_allocator_limit< _Tp > Struct Template Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript"> $(document).ready(initResizable); </script> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.4 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">libstdc++</div> </td> </tr> </tbody> </table> </div> </div> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> initNavTree('a00073.html',''); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> </div> <div class="headertitle"> <div class="title">__gnu_cxx::throw_allocator_limit< _Tp > Struct Template Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="__gnu_cxx::throw_allocator_limit" --><!-- doxytag: inherits="throw_allocator_base< _Tp, limit_condition >" --> <p>Allocator throwing via limit condition. <a href="a00073.html#details">More...</a></p> <div class="dynheader"> Inheritance diagram for __gnu_cxx::throw_allocator_limit< _Tp >:</div> <div class="dyncontent"> <div class="center"><img src="a01490.png" border="0" usemap="#____gnu__cxx_1_1throw__allocator__limit_3_01___tp_01_4_inherit__map" alt="Inheritance graph"/></div> <map name="____gnu__cxx_1_1throw__allocator__limit_3_01___tp_01_4_inherit__map" id="____gnu__cxx_1_1throw__allocator__limit_3_01___tp_01_4_inherit__map"> <area shape="rect" id="node2" href="a00072.html" title="__gnu_cxx::throw_allocator_base\< _Tp, limit_condition \>" alt="" coords="697,40,1028,69"/><area shape="rect" id="node4" href="a00029.html" title="Base class for checking address and label information about allocations. Create a std::map between th..." alt="" coords="7,5,177,35"/><area shape="rect" id="node10" href="a00072.html" title="Allocator class with logging and exception generation control. Intended to be used as an allocator_ty..." alt="" coords="229,40,520,69"/><area shape="rect" id="node6" href="a00050.html" title="Base class for incremental control and throw." alt="" coords="292,93,457,123"/><area shape="rect" id="node8" href="a00036.html" title="Base struct for condition policy." alt="" coords="7,93,177,123"/></map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <p><a href="a01491.html">List of all members.</a></p> <h2><a name="pub-types"></a> Public Types</h2> <ul> <li><a class="anchor" id="a0064125f1c71b618285f50a7ae2fa60b"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::const_pointer" ref="a0064125f1c71b618285f50a7ae2fa60b" args="" --> typedef const value_type * <b>const_pointer</b> <li><a class="anchor" id="afb8a794b2e875c21c379740e1438080e"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::const_reference" ref="afb8a794b2e875c21c379740e1438080e" args="" --> typedef const value_type & <b>const_reference</b> <li><a class="anchor" id="a7c7255d6fb6496606066445ada2e6716"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::difference_type" ref="a7c7255d6fb6496606066445ada2e6716" args="" --> typedef ptrdiff_t <b>difference_type</b> <li><a class="anchor" id="a6d84e04733a06299acf2f0d5e85efda3"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::pointer" ref="a6d84e04733a06299acf2f0d5e85efda3" args="" --> typedef value_type * <b>pointer</b> <li><a class="anchor" id="a5d09eb8bf54f5b03b7ec610cef16f9cb"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::reference" ref="a5d09eb8bf54f5b03b7ec610cef16f9cb" args="" --> typedef value_type & <b>reference</b> <li><a class="anchor" id="ae32d4f7cb081b4df460547cf36723bdf"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::size_type" ref="ae32d4f7cb081b4df460547cf36723bdf" args="" --> typedef size_t <b>size_type</b> <li><a class="anchor" id="a98102eb87d83c8fd8e90651b97f1afed"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::value_type" ref="a98102eb87d83c8fd8e90651b97f1afed" args="" --> typedef _Tp <b>value_type</b> </ul> <h2><a name="pub-methods"></a> Public Member Functions</h2> <ul> <li><a class="anchor" id="aef044b0862e124ee7d5f136609972e17"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::throw_allocator_limit" ref="aef044b0862e124ee7d5f136609972e17" args="(const throw_allocator_limit &)" --> <b>throw_allocator_limit</b> (const <a class="el" href="a00073.html">throw_allocator_limit</a> &) throw () <li><a class="anchor" id="a9264e5a20f85e808913c271b2adad0b7"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::throw_allocator_limit" ref="a9264e5a20f85e808913c271b2adad0b7" args="(const throw_allocator_limit< _Tp1 > &)" --> template<typename _Tp1 > <b>throw_allocator_limit</b> (const <a class="el" href="a00073.html">throw_allocator_limit</a>< _Tp1 > &) throw () <li><a class="anchor" id="a4d4a1b918dc62ae92671f2c0ccd8203b"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::address" ref="a4d4a1b918dc62ae92671f2c0ccd8203b" args="(reference __x) const" --> pointer <b>address</b> (reference __x) const <li><a class="anchor" id="af4a731eaf2d8281b628d86d85a5fd8a1"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::address" ref="af4a731eaf2d8281b628d86d85a5fd8a1" args="(const_reference __x) const" --> const_pointer <b>address</b> (const_reference __x) const <li><a class="anchor" id="a0883813eb942d7ed4866522cfb418a32"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::allocate" ref="a0883813eb942d7ed4866522cfb418a32" args="(size_type __n, std::allocator< void >::const_pointer hint=0)" --> pointer <b>allocate</b> (size_type __n, <a class="el" href="a00246.html">std::allocator</a>< void >::const_pointer hint=0) <li><a class="anchor" id="a5a83039fb46e64d72e0f6c82069378fb"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::check_allocated" ref="a5a83039fb46e64d72e0f6c82069378fb" args="(void *p, size_t size)" --> void <b>check_allocated</b> (void *p, size_t size) <li><a class="anchor" id="afebc186a52c268a7def086bd02f59f43"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::check_allocated" ref="afebc186a52c268a7def086bd02f59f43" args="(pointer __p, size_type __n)" --> void <b>check_allocated</b> (pointer __p, size_type __n) <li><a class="anchor" id="af7861abd366b6136add945ae528fd107"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::check_allocated" ref="af7861abd366b6136add945ae528fd107" args="(size_type __n)" --> void <b>check_allocated</b> (size_type __n) <li><a class="anchor" id="a6ef00906d3f56ae32f93a379efd4b6ac"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::construct" ref="a6ef00906d3f56ae32f93a379efd4b6ac" args="(pointer __p, const value_type &val)" --> void <b>construct</b> (pointer __p, const value_type &val) <li><a class="anchor" id="a159d7f78c87b5ffeddf585d25515047d"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::construct" ref="a159d7f78c87b5ffeddf585d25515047d" args="(pointer __p, _Args &&...__args)" --> void <b>construct</b> (pointer __p, _Args &&...__args) <li><a class="anchor" id="ab4961162419c111a202b99aec5e42147"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::deallocate" ref="ab4961162419c111a202b99aec5e42147" args="(pointer __p, size_type __n)" --> void <b>deallocate</b> (pointer __p, size_type __n) <li><a class="anchor" id="ab275bd058db98c841e7aae8ad53320fc"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::destroy" ref="ab275bd058db98c841e7aae8ad53320fc" args="(pointer __p)" --> void <b>destroy</b> (pointer __p) <li><a class="anchor" id="a9ea035d1194d3e29befa332e0df920e7"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::erase" ref="a9ea035d1194d3e29befa332e0df920e7" args="(void *p, size_t size)" --> void <b>erase</b> (void *p, size_t size) <li><a class="anchor" id="ade37e2a9cd45456b7759f87ac7d25d08"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::insert" ref="ade37e2a9cd45456b7759f87ac7d25d08" args="(void *p, size_t size)" --> void <b>insert</b> (void *p, size_t size) <li><a class="anchor" id="a7e94d55bd68f111a5da079743104921f"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::max_size" ref="a7e94d55bd68f111a5da079743104921f" args="() const" --> size_type <b>max_size</b> () const throw () </ul> <h2><a name="pub-static-methods"></a> Static Public Member Functions</h2> <ul> <li><a class="anchor" id="a714fcfb4d97df235f9648b457c59be95"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::count" ref="a714fcfb4d97df235f9648b457c59be95" args="()" --> static size_t & <b>count</b> () <li><a class="anchor" id="a1578638ce8ec27393862ec57cbd6059b"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::get_label" ref="a1578638ce8ec27393862ec57cbd6059b" args="()" --> static size_t <b>get_label</b> () <li><a class="anchor" id="ac4cae7df148b45139937e9060be9e36a"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::limit" ref="ac4cae7df148b45139937e9060be9e36a" args="()" --> static size_t & <b>limit</b> () <li><a class="anchor" id="a86f670c1e3cf898a1d34138221f58be6"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::set_label" ref="a86f670c1e3cf898a1d34138221f58be6" args="(size_t l)" --> static void <b>set_label</b> (size_t l) <li><a class="anchor" id="a52a0bc32fe546e16cfd576baec73961d"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::set_limit" ref="a52a0bc32fe546e16cfd576baec73961d" args="(const size_t __l)" --> static void <b>set_limit</b> (const size_t __l) <li><a class="anchor" id="aa4d64fe1d2a31d04b012cc647690582a"></a><!-- doxytag: member="__gnu_cxx::throw_allocator_limit::throw_conditionally" ref="aa4d64fe1d2a31d04b012cc647690582a" args="()" --> static void <b>throw_conditionally</b> () </ul> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><h3>template<typename _Tp><br/> struct __gnu_cxx::throw_allocator_limit< _Tp ></h3> <p>Allocator throwing via limit condition. </p> <p>Definition at line <a class="el" href="a01084_source.html#l00690">690</a> of file <a class="el" href="a01084_source.html">throw_allocator.h</a>.</p> </div><hr/>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="a01084_source.html">throw_allocator.h</a></li> </ul> </div> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="a01125.html">__gnu_cxx</a> </li> <li class="navelem"><a class="el" href="a00073.html">throw_allocator_limit</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.7.4 </li> </ul> </div> </body> </html>