Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 0448c66ab6afa2f787658c5e6488e2d9 > files > 3168

libstdc++-docs-8.3.1-0.20191101.1.mga7.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libstdc++: std::locale Class 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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</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.15 -->
</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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a05816.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="a05813.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">std::locale Class Reference<div class="ingroups"><a class="el" href="a01489.html">Locales</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05820.html">facet</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05824.html">id</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a969b15053ff1b296935ea2dff07afad5"><td class="memItemLeft" align="right" valign="top">typedef int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">category</a></td></tr>
<tr class="separator:a969b15053ff1b296935ea2dff07afad5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:af149bfda05282c1f7c62973c887d77e6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05816.html#af149bfda05282c1f7c62973c887d77e6">locale</a> ()  throw ()</td></tr>
<tr class="separator:af149bfda05282c1f7c62973c887d77e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade071b7e4275c4a8889b09e86d1c26fb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05816.html#ade071b7e4275c4a8889b09e86d1c26fb">locale</a> (const <a class="el" href="a05816.html">locale</a> &amp;__other)  throw ()</td></tr>
<tr class="separator:ade071b7e4275c4a8889b09e86d1c26fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a268965d97cffcf472d2f0fa8b74aa1e2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05816.html#a268965d97cffcf472d2f0fa8b74aa1e2">locale</a> (const char *__s)</td></tr>
<tr class="separator:a268965d97cffcf472d2f0fa8b74aa1e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a964af00c8b1c09375ca7abd5bdf8922f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05816.html#a964af00c8b1c09375ca7abd5bdf8922f">locale</a> (const <a class="el" href="a05816.html">locale</a> &amp;__base, const char *__s, <a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">category</a> __cat)</td></tr>
<tr class="separator:a964af00c8b1c09375ca7abd5bdf8922f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85e91d15c668e3455ff2a1eda4e6784a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05816.html#a85e91d15c668e3455ff2a1eda4e6784a">locale</a> (const <a class="el" href="a01506.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;__s)</td></tr>
<tr class="separator:a85e91d15c668e3455ff2a1eda4e6784a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a918d906d5f6fc923db96a72021ad5aab"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05816.html#a918d906d5f6fc923db96a72021ad5aab">locale</a> (const <a class="el" href="a05816.html">locale</a> &amp;__base, const <a class="el" href="a01506.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;__s, <a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">category</a> __cat)</td></tr>
<tr class="separator:a918d906d5f6fc923db96a72021ad5aab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af050b38ebd4f015ef0fe4b64f3087d42"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05816.html#af050b38ebd4f015ef0fe4b64f3087d42">locale</a> (const <a class="el" href="a05816.html">locale</a> &amp;__base, const <a class="el" href="a05816.html">locale</a> &amp;__add, <a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">category</a> __cat)</td></tr>
<tr class="separator:af050b38ebd4f015ef0fe4b64f3087d42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a3183dbb40c79006a1de940775ce704"><td class="memTemplParams" colspan="2">template&lt;typename _Facet &gt; </td></tr>
<tr class="memitem:a9a3183dbb40c79006a1de940775ce704"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a05816.html#a9a3183dbb40c79006a1de940775ce704">locale</a> (const <a class="el" href="a05816.html">locale</a> &amp;__other, _Facet *__f)</td></tr>
<tr class="separator:a9a3183dbb40c79006a1de940775ce704"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45b12cb443002d7995d5a1fd4d2ad179"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05816.html#a45b12cb443002d7995d5a1fd4d2ad179">~locale</a> ()  throw ()</td></tr>
<tr class="separator:a45b12cb443002d7995d5a1fd4d2ad179"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9806f062f79116a09c2ed0ad9449e58f"><td class="memTemplParams" colspan="2">template&lt;typename _Facet &gt; </td></tr>
<tr class="memitem:a9806f062f79116a09c2ed0ad9449e58f"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="a05816.html">locale</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a05816.html#a9806f062f79116a09c2ed0ad9449e58f">combine</a> (const <a class="el" href="a05816.html">locale</a> &amp;__other) const</td></tr>
<tr class="separator:a9806f062f79116a09c2ed0ad9449e58f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0027979b86e7a74e9b33dd0686c3c2d"><td class="memItemLeft" align="right" valign="top">_GLIBCXX_DEFAULT_ABI_TAG <a class="el" href="a01506.html#ga32db3d9898c44d3b3a578b560f7758cc">string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05816.html#ab0027979b86e7a74e9b33dd0686c3c2d">name</a> () const</td></tr>
<tr class="separator:ab0027979b86e7a74e9b33dd0686c3c2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbf547d835746748a205bb57fd81a43f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05816.html#adbf547d835746748a205bb57fd81a43f">operator!=</a> (const <a class="el" href="a05816.html">locale</a> &amp;__other) const  throw ()</td></tr>
<tr class="separator:adbf547d835746748a205bb57fd81a43f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab68fb69ca8894ecf335960b49807ee5b"><td class="memTemplParams" colspan="2"><a id="ab68fb69ca8894ecf335960b49807ee5b"></a>
template&lt;typename _CharT , typename _Traits , typename _Alloc &gt; </td></tr>
<tr class="memitem:ab68fb69ca8894ecf335960b49807ee5b"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>operator()</b> (const <a class="el" href="a04768.html">basic_string</a>&lt; _CharT, _Traits, _Alloc &gt; &amp;__s1, const <a class="el" href="a04768.html">basic_string</a>&lt; _CharT, _Traits, _Alloc &gt; &amp;__s2) const</td></tr>
<tr class="separator:ab68fb69ca8894ecf335960b49807ee5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9d4f2f1dd2404eeb399f7609e50f1fb"><td class="memTemplParams" colspan="2">template&lt;typename _Char , typename _Traits , typename _Alloc &gt; </td></tr>
<tr class="memitem:ad9d4f2f1dd2404eeb399f7609e50f1fb"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a05816.html#ad9d4f2f1dd2404eeb399f7609e50f1fb">operator()</a> (const <a class="el" href="a04768.html">basic_string</a>&lt; _Char, _Traits, _Alloc &gt; &amp;__s1, const <a class="el" href="a04768.html">basic_string</a>&lt; _Char, _Traits, _Alloc &gt; &amp;__s2) const</td></tr>
<tr class="separator:ad9d4f2f1dd2404eeb399f7609e50f1fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21b4d6ac8a3c4614656b67eec61b5f9d"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="a05816.html">locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05816.html#a21b4d6ac8a3c4614656b67eec61b5f9d">operator=</a> (const <a class="el" href="a05816.html">locale</a> &amp;__other)  throw ()</td></tr>
<tr class="separator:a21b4d6ac8a3c4614656b67eec61b5f9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f58972cf0b98da7d1e751bba3f28f7e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05816.html#a0f58972cf0b98da7d1e751bba3f28f7e">operator==</a> (const <a class="el" href="a05816.html">locale</a> &amp;__other) const  throw ()</td></tr>
<tr class="separator:a0f58972cf0b98da7d1e751bba3f28f7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:aa50e351ed674a068ff3e179c5a75c21b"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="a05816.html">locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05816.html#aa50e351ed674a068ff3e179c5a75c21b">classic</a> ()</td></tr>
<tr class="separator:aa50e351ed674a068ff3e179c5a75c21b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11180773b88e5f353fdb0a9f51214ec6"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a05816.html">locale</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05816.html#a11180773b88e5f353fdb0a9f51214ec6">global</a> (const <a class="el" href="a05816.html">locale</a> &amp;__loc)</td></tr>
<tr class="separator:a11180773b88e5f353fdb0a9f51214ec6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a70bef0686be2c1b746e21069f73415b8"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">category</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05816.html#a70bef0686be2c1b746e21069f73415b8">none</a></td></tr>
<tr class="separator:a70bef0686be2c1b746e21069f73415b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a283927e767f737e4ef7a7ccd0bec1da1"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">category</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05816.html#a283927e767f737e4ef7a7ccd0bec1da1">ctype</a></td></tr>
<tr class="separator:a283927e767f737e4ef7a7ccd0bec1da1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50c9f58112ca40d3d53b07e1d524228b"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">category</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05816.html#a50c9f58112ca40d3d53b07e1d524228b">numeric</a></td></tr>
<tr class="separator:a50c9f58112ca40d3d53b07e1d524228b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd2238d0ec6436541c1f9f343e5e32d3"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">category</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05816.html#acd2238d0ec6436541c1f9f343e5e32d3">collate</a></td></tr>
<tr class="separator:acd2238d0ec6436541c1f9f343e5e32d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1da7e1b7c469ed4ed45d61139cdc043d"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">category</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05816.html#a1da7e1b7c469ed4ed45d61139cdc043d">time</a></td></tr>
<tr class="separator:a1da7e1b7c469ed4ed45d61139cdc043d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a344e6500c766e554a71933878f1fc654"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">category</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05816.html#a344e6500c766e554a71933878f1fc654">monetary</a></td></tr>
<tr class="separator:a344e6500c766e554a71933878f1fc654"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cfad8ee6c5f1275b9862c63bd5d5241"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">category</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05816.html#a7cfad8ee6c5f1275b9862c63bd5d5241">messages</a></td></tr>
<tr class="separator:a7cfad8ee6c5f1275b9862c63bd5d5241"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2ddc152ed732bc16528984b71f1066d"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">category</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a05816.html#ad2ddc152ed732bc16528984b71f1066d">all</a></td></tr>
<tr class="separator:ad2ddc152ed732bc16528984b71f1066d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a715eada527a2b6365b72c7085da329c3"><td class="memTemplParams" colspan="2"><a id="a715eada527a2b6365b72c7085da329c3"></a>
template&lt;typename _Cache &gt; </td></tr>
<tr class="memitem:a715eada527a2b6365b72c7085da329c3"><td class="memTemplItemLeft" align="right" valign="top">struct&#160;</td><td class="memTemplItemRight" valign="bottom"><b>__use_cache</b></td></tr>
<tr class="separator:a715eada527a2b6365b72c7085da329c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08da6e4d0856b5befe259f1faf19b560"><td class="memItemLeft" align="right" valign="top"><a id="a08da6e4d0856b5befe259f1faf19b560"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>_Impl</b></td></tr>
<tr class="separator:a08da6e4d0856b5befe259f1faf19b560"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46bf89244cd5701b5fc889199b49a17f"><td class="memItemLeft" align="right" valign="top"><a id="a46bf89244cd5701b5fc889199b49a17f"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>facet</b></td></tr>
<tr class="separator:a46bf89244cd5701b5fc889199b49a17f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5bc3cddb6bb375329682cb211ba0441"><td class="memTemplParams" colspan="2">template&lt;typename _Facet &gt; </td></tr>
<tr class="memitem:ad5bc3cddb6bb375329682cb211ba0441"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a05816.html#ad5bc3cddb6bb375329682cb211ba0441">has_facet</a> (const <a class="el" href="a05816.html">locale</a> &amp;)  throw ()</td></tr>
<tr class="separator:ad5bc3cddb6bb375329682cb211ba0441"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac42c07b39caa9133862dd851c3fa2c7d"><td class="memTemplParams" colspan="2">template&lt;typename _Facet &gt; </td></tr>
<tr class="memitem:ac42c07b39caa9133862dd851c3fa2c7d"><td class="memTemplItemLeft" align="right" valign="top">const _Facet &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a05816.html#ac42c07b39caa9133862dd851c3fa2c7d">use_facet</a> (const <a class="el" href="a05816.html">locale</a> &amp;)</td></tr>
<tr class="separator:ac42c07b39caa9133862dd851c3fa2c7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Container class for localization functionality.</p>
<p>The locale class is first a class wrapper for C library locales. It is also an extensible container for user-defined localization. A locale is a collection of facets that implement various localization features such as money, time, and number printing. </p>
<p>Constructing C++ locales does not change the C library locale.</p>
<p>This library supports efficient construction and copying of locales through a reference counting implementation of the locale class. </p>

<p class="definition">Definition at line <a class="el" href="a00392_source.html#l00062">62</a> of file <a class="el" href="a00392_source.html">locale_classes.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a969b15053ff1b296935ea2dff07afad5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a969b15053ff1b296935ea2dff07afad5">&#9670;&nbsp;</a></span>category</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef int <a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">std::locale::category</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition of locale::category. </p>

<p class="definition">Definition at line <a class="el" href="a00392_source.html#l00067">67</a> of file <a class="el" href="a00392_source.html">locale_classes.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="af149bfda05282c1f7c62973c887d77e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af149bfda05282c1f7c62973c887d77e6">&#9670;&nbsp;</a></span>locale() <span class="overload">[1/8]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::locale::locale </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2"></td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Default constructor. </p>
<p>Constructs a copy of the global locale. If no locale has been explicitly set, this is the C locale. </p>

</div>
</div>
<a id="ade071b7e4275c4a8889b09e86d1c26fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade071b7e4275c4a8889b09e86d1c26fb">&#9670;&nbsp;</a></span>locale() <span class="overload">[2/8]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::locale::locale </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a05816.html">locale</a> &amp;&#160;</td>
          <td class="paramname"><em>__other</em></td><td>)</td>
          <td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2"></td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy constructor. </p>
<p>Constructs a copy of <em>other</em>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__other</td><td>The locale to copy. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a268965d97cffcf472d2f0fa8b74aa1e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a268965d97cffcf472d2f0fa8b74aa1e2">&#9670;&nbsp;</a></span>locale() <span class="overload">[3/8]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::locale::locale </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>__s</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Named locale constructor. </p>
<p>Constructs a copy of the named C library locale.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__s</td><td>Name of the locale to construct. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">std::runtime_error</td><td>if __s is null or an undefined locale. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a964af00c8b1c09375ca7abd5bdf8922f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a964af00c8b1c09375ca7abd5bdf8922f">&#9670;&nbsp;</a></span>locale() <span class="overload">[4/8]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::locale::locale </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a05816.html">locale</a> &amp;&#160;</td>
          <td class="paramname"><em>__base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>__s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">category</a>&#160;</td>
          <td class="paramname"><em>__cat</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Construct locale with facets from another locale. </p>
<p>Constructs a copy of the locale <em>base</em>. The facets specified by <em>cat</em> are replaced with those from the locale named by <em>s</em>. If base is named, this locale instance will also be named.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__base</td><td>The locale to copy. </td></tr>
    <tr><td class="paramname">__s</td><td>Name of the locale to use facets from. </td></tr>
    <tr><td class="paramname">__cat</td><td>Set of categories defining the facets to use from __s. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">std::runtime_error</td><td>if __s is null or an undefined locale. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a85e91d15c668e3455ff2a1eda4e6784a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85e91d15c668e3455ff2a1eda4e6784a">&#9670;&nbsp;</a></span>locale() <span class="overload">[5/8]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::locale::locale </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a01506.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>__s</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Named locale constructor. </p>
<p>Constructs a copy of the named C library locale.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__s</td><td>Name of the locale to construct. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">std::runtime_error</td><td>if __s is an undefined locale. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="a00392_source.html#l00163">163</a> of file <a class="el" href="a00392_source.html">locale_classes.h</a>.</p>

</div>
</div>
<a id="a918d906d5f6fc923db96a72021ad5aab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a918d906d5f6fc923db96a72021ad5aab">&#9670;&nbsp;</a></span>locale() <span class="overload">[6/8]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::locale::locale </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a05816.html">locale</a> &amp;&#160;</td>
          <td class="paramname"><em>__base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a01506.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>__s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">category</a>&#160;</td>
          <td class="paramname"><em>__cat</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Construct locale with facets from another locale. </p>
<p>Constructs a copy of the locale <em>base</em>. The facets specified by <em>cat</em> are replaced with those from the locale named by <em>s</em>. If base is named, this locale instance will also be named.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__base</td><td>The locale to copy. </td></tr>
    <tr><td class="paramname">__s</td><td>Name of the locale to use facets from. </td></tr>
    <tr><td class="paramname">__cat</td><td>Set of categories defining the facets to use from __s. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">std::runtime_error</td><td>if __s is an undefined locale. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="a00392_source.html#l00177">177</a> of file <a class="el" href="a00392_source.html">locale_classes.h</a>.</p>

</div>
</div>
<a id="af050b38ebd4f015ef0fe4b64f3087d42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af050b38ebd4f015ef0fe4b64f3087d42">&#9670;&nbsp;</a></span>locale() <span class="overload">[7/8]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::locale::locale </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a05816.html">locale</a> &amp;&#160;</td>
          <td class="paramname"><em>__base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a05816.html">locale</a> &amp;&#160;</td>
          <td class="paramname"><em>__add</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">category</a>&#160;</td>
          <td class="paramname"><em>__cat</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Construct locale with facets from another locale. </p>
<p>Constructs a copy of the locale <em>base</em>. The facets specified by <em>cat</em> are replaced with those from the locale <em>add</em>. If <em>base</em> and <em>add</em> are named, this locale instance will also be named.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__base</td><td>The locale to copy. </td></tr>
    <tr><td class="paramname">__add</td><td>The locale to use facets from. </td></tr>
    <tr><td class="paramname">__cat</td><td>Set of categories defining the facets to use from add. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a9a3183dbb40c79006a1de940775ce704"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a3183dbb40c79006a1de940775ce704">&#9670;&nbsp;</a></span>locale() <span class="overload">[8/8]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Facet &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::locale::locale </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a05816.html">locale</a> &amp;&#160;</td>
          <td class="paramname"><em>__other</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">_Facet *&#160;</td>
          <td class="paramname"><em>__f</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Construct locale with another facet. </p>
<p>Constructs a copy of the locale <em>__other</em>. The facet <em>__f</em> is added to <em>__other</em>, replacing an existing facet of type Facet if there is one. If <em>__f</em> is null, this locale is a copy of <em>__other</em>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__other</td><td>The locale to copy. </td></tr>
    <tr><td class="paramname">__f</td><td>The facet to add in. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="a00395_source.html#l00045">45</a> of file <a class="el" href="a00395_source.html">locale_classes.tcc</a>.</p>

</div>
</div>
<a id="a45b12cb443002d7995d5a1fd4d2ad179"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a45b12cb443002d7995d5a1fd4d2ad179">&#9670;&nbsp;</a></span>~locale()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::locale::~locale </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2"></td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Locale destructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aa50e351ed674a068ff3e179c5a75c21b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa50e351ed674a068ff3e179c5a75c21b">&#9670;&nbsp;</a></span>classic()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="a05816.html">locale</a>&amp; std::locale::classic </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return reference to the C locale. </p>

</div>
</div>
<a id="a9806f062f79116a09c2ed0ad9449e58f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9806f062f79116a09c2ed0ad9449e58f">&#9670;&nbsp;</a></span>combine()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Facet &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a05816.html">locale</a> std::locale::combine </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a05816.html">locale</a> &amp;&#160;</td>
          <td class="paramname"><em>__other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Construct locale with another facet. </p>
<p>Constructs and returns a new copy of this locale. Adds or replaces an existing facet of type Facet from the locale <em>other</em> into the new locale.</p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">_Facet</td><td>The facet type to copy from other </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__other</td><td>The locale to copy from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Newly constructed locale. </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">std::runtime_error</td><td>if __other has no facet of type _Facet. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="a00395_source.html#l00063">63</a> of file <a class="el" href="a00395_source.html">locale_classes.tcc</a>.</p>

</div>
</div>
<a id="a11180773b88e5f353fdb0a9f51214ec6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11180773b88e5f353fdb0a9f51214ec6">&#9670;&nbsp;</a></span>global()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a05816.html">locale</a> std::locale::global </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a05816.html">locale</a> &amp;&#160;</td>
          <td class="paramname"><em>__loc</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set global locale. </p>
<p>This function sets the global locale to the argument and returns a copy of the previous global locale. If the argument has a name, it will also call std::setlocale(LC_ALL, loc.name()).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__loc</td><td>The new locale to make global. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Copy of the old global locale. </dd></dl>

</div>
</div>
<a id="ab0027979b86e7a74e9b33dd0686c3c2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab0027979b86e7a74e9b33dd0686c3c2d">&#9670;&nbsp;</a></span>name()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_GLIBCXX_DEFAULT_ABI_TAG <a class="el" href="a01506.html#ga32db3d9898c44d3b3a578b560f7758cc">string</a> std::locale::name </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return locale name. </p>
<dl class="section return"><dt>Returns</dt><dd>Locale name or "*" if unnamed. </dd></dl>

</div>
</div>
<a id="adbf547d835746748a205bb57fd81a43f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adbf547d835746748a205bb57fd81a43f">&#9670;&nbsp;</a></span>operator!=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool std::locale::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a05816.html">locale</a> &amp;&#160;</td>
          <td class="paramname"><em>__other</em></td><td>)</td>
          <td> const</td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2"></td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Locale inequality. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__other</td><td>The locale to compare against. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>! (*this == __other) </dd></dl>

<p class="definition">Definition at line <a class="el" href="a00392_source.html#l00264">264</a> of file <a class="el" href="a00392_source.html">locale_classes.h</a>.</p>

</div>
</div>
<a id="ad9d4f2f1dd2404eeb399f7609e50f1fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad9d4f2f1dd2404eeb399f7609e50f1fb">&#9670;&nbsp;</a></span>operator()()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Char , typename _Traits , typename _Alloc &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool std::locale::operator() </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a04768.html">basic_string</a>&lt; _Char, _Traits, _Alloc &gt; &amp;&#160;</td>
          <td class="paramname"><em>__s1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a04768.html">basic_string</a>&lt; _Char, _Traits, _Alloc &gt; &amp;&#160;</td>
          <td class="paramname"><em>__s2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Compare two strings according to collate. </p>
<p>Template operator to compare two strings using the compare function of the collate facet in this locale. One use is to provide the locale to the sort function. For example, a vector v of strings could be sorted according to locale loc by doing: </p><div class="fragment"><div class="line"><a class="code" href="a01482.html#gae3c0067ae83db1824367ded659a960b2">std::sort</a>(v.begin(), v.end(), loc);</div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__s1</td><td>First string to compare. </td></tr>
    <tr><td class="paramname">__s2</td><td>Second string to compare. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if collate&lt;_Char&gt; facet compares __s1 &lt; __s2, else false. </dd></dl>

</div>
</div>
<a id="a21b4d6ac8a3c4614656b67eec61b5f9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21b4d6ac8a3c4614656b67eec61b5f9d">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a05816.html">locale</a>&amp; std::locale::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a05816.html">locale</a> &amp;&#160;</td>
          <td class="paramname"><em>__other</em></td><td>)</td>
          <td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2"></td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Assignment operator. </p>
<p>Set this locale to be a copy of <em>other</em>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__other</td><td>The locale to copy. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to this locale. </dd></dl>

</div>
</div>
<a id="a0f58972cf0b98da7d1e751bba3f28f7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f58972cf0b98da7d1e751bba3f28f7e">&#9670;&nbsp;</a></span>operator==()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool std::locale::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a05816.html">locale</a> &amp;&#160;</td>
          <td class="paramname"><em>__other</em></td><td>)</td>
          <td> const</td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2"></td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Locale equality. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__other</td><td>The locale to compare against. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if other and this refer to the same locale instance, are copies, or have the same name. False otherwise. </dd></dl>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="ad5bc3cddb6bb375329682cb211ba0441"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5bc3cddb6bb375329682cb211ba0441">&#9670;&nbsp;</a></span>has_facet</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Facet &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool has_facet </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a05816.html">locale</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2"></td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Test for the presence of a facet.has_facet tests the locale argument for the presence of the facet type provided as the template parameter. Facets derived from the facet parameter will also return true. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">_Facet</td><td>The facet type to test the presence of. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__loc</td><td>The locale to test. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if <code>__loc</code> contains a facet of type _Facet, else false. </dd></dl>

<p class="definition">Definition at line <a class="el" href="a00395_source.html#l00104">104</a> of file <a class="el" href="a00395_source.html">locale_classes.tcc</a>.</p>

</div>
</div>
<a id="ac42c07b39caa9133862dd851c3fa2c7d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac42c07b39caa9133862dd851c3fa2c7d">&#9670;&nbsp;</a></span>use_facet</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Facet &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const _Facet&amp; use_facet </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a05816.html">locale</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return a facet.use_facet looks for and returns a reference to a facet of type Facet where Facet is the template parameter. If has_facet(locale) is true, there is a suitable facet to return. It throws std::bad_cast if the locale doesn't contain a facet of type Facet. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">_Facet</td><td>The facet type to access. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__loc</td><td>The locale to use. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Reference to facet of type Facet. </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">std::bad_cast</td><td>if <code>__loc</code> doesn't contain a facet of type _Facet. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="a00395_source.html#l00132">132</a> of file <a class="el" href="a00395_source.html">locale_classes.tcc</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ad2ddc152ed732bc16528984b71f1066d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2ddc152ed732bc16528984b71f1066d">&#9670;&nbsp;</a></span>all</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">category</a> std::locale::all</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Category values. </p>
<p>The standard category values are none, ctype, numeric, collate, time, monetary, and messages. They form a bitmask that supports union and intersection. The category all is the union of these values.</p>
<p>NB: Order must match _S_facet_categories definition in locale.cc </p>

<p class="definition">Definition at line <a class="el" href="a00392_source.html#l00105">105</a> of file <a class="el" href="a00392_source.html">locale_classes.h</a>.</p>

</div>
</div>
<a id="acd2238d0ec6436541c1f9f343e5e32d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd2238d0ec6436541c1f9f343e5e32d3">&#9670;&nbsp;</a></span>collate</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">category</a> std::locale::collate</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Category values. </p>
<p>The standard category values are none, ctype, numeric, collate, time, monetary, and messages. They form a bitmask that supports union and intersection. The category all is the union of these values.</p>
<p>NB: Order must match _S_facet_categories definition in locale.cc </p>

<p class="definition">Definition at line <a class="el" href="a00392_source.html#l00101">101</a> of file <a class="el" href="a00392_source.html">locale_classes.h</a>.</p>

</div>
</div>
<a id="a283927e767f737e4ef7a7ccd0bec1da1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a283927e767f737e4ef7a7ccd0bec1da1">&#9670;&nbsp;</a></span>ctype</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">category</a> std::locale::ctype</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Category values. </p>
<p>The standard category values are none, ctype, numeric, collate, time, monetary, and messages. They form a bitmask that supports union and intersection. The category all is the union of these values.</p>
<p>NB: Order must match _S_facet_categories definition in locale.cc </p>

<p class="definition">Definition at line <a class="el" href="a00392_source.html#l00099">99</a> of file <a class="el" href="a00392_source.html">locale_classes.h</a>.</p>

</div>
</div>
<a id="a7cfad8ee6c5f1275b9862c63bd5d5241"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7cfad8ee6c5f1275b9862c63bd5d5241">&#9670;&nbsp;</a></span>messages</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">category</a> std::locale::messages</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Category values. </p>
<p>The standard category values are none, ctype, numeric, collate, time, monetary, and messages. They form a bitmask that supports union and intersection. The category all is the union of these values.</p>
<p>NB: Order must match _S_facet_categories definition in locale.cc </p>

<p class="definition">Definition at line <a class="el" href="a00392_source.html#l00104">104</a> of file <a class="el" href="a00392_source.html">locale_classes.h</a>.</p>

</div>
</div>
<a id="a344e6500c766e554a71933878f1fc654"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a344e6500c766e554a71933878f1fc654">&#9670;&nbsp;</a></span>monetary</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">category</a> std::locale::monetary</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Category values. </p>
<p>The standard category values are none, ctype, numeric, collate, time, monetary, and messages. They form a bitmask that supports union and intersection. The category all is the union of these values.</p>
<p>NB: Order must match _S_facet_categories definition in locale.cc </p>

<p class="definition">Definition at line <a class="el" href="a00392_source.html#l00103">103</a> of file <a class="el" href="a00392_source.html">locale_classes.h</a>.</p>

</div>
</div>
<a id="a70bef0686be2c1b746e21069f73415b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70bef0686be2c1b746e21069f73415b8">&#9670;&nbsp;</a></span>none</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">category</a> std::locale::none</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Category values. </p>
<p>The standard category values are none, ctype, numeric, collate, time, monetary, and messages. They form a bitmask that supports union and intersection. The category all is the union of these values.</p>
<p>NB: Order must match _S_facet_categories definition in locale.cc </p>

<p class="definition">Definition at line <a class="el" href="a00392_source.html#l00098">98</a> of file <a class="el" href="a00392_source.html">locale_classes.h</a>.</p>

</div>
</div>
<a id="a50c9f58112ca40d3d53b07e1d524228b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a50c9f58112ca40d3d53b07e1d524228b">&#9670;&nbsp;</a></span>numeric</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">category</a> std::locale::numeric</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Category values. </p>
<p>The standard category values are none, ctype, numeric, collate, time, monetary, and messages. They form a bitmask that supports union and intersection. The category all is the union of these values.</p>
<p>NB: Order must match _S_facet_categories definition in locale.cc </p>

<p class="definition">Definition at line <a class="el" href="a00392_source.html#l00100">100</a> of file <a class="el" href="a00392_source.html">locale_classes.h</a>.</p>

</div>
</div>
<a id="a1da7e1b7c469ed4ed45d61139cdc043d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1da7e1b7c469ed4ed45d61139cdc043d">&#9670;&nbsp;</a></span>time</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a05816.html#a969b15053ff1b296935ea2dff07afad5">category</a> std::locale::time</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Category values. </p>
<p>The standard category values are none, ctype, numeric, collate, time, monetary, and messages. They form a bitmask that supports union and intersection. The category all is the union of these values.</p>
<p>NB: Order must match _S_facet_categories definition in locale.cc </p>

<p class="definition">Definition at line <a class="el" href="a00392_source.html#l00102">102</a> of file <a class="el" href="a00392_source.html">locale_classes.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="a00392_source.html">locale_classes.h</a></li>
<li><a class="el" href="a00395_source.html">locale_classes.tcc</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="a01538.html">std</a></li><li class="navelem"><a class="el" href="a05816.html">locale</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.15 </li>
  </ul>
</div>
</body>
</html>