mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-06-07 00:51:32 +00:00
add doc: string index
This commit is contained in:
parent
a2580d4926
commit
c2251ce7ea
12 changed files with 862 additions and 2 deletions
|
@ -32,9 +32,11 @@ Returns
|
||||||
========================================
|
========================================
|
||||||
|
|
||||||
| A pair of iterators i and j such that ``j == first2 + (i - first1)`` and i is the first iterator in the range [first1,last1) for which the following corresponding conditions hold:
|
| A pair of iterators i and j such that ``j == first2 + (i - first1)`` and i is the first iterator in the range [first1,last1) for which the following corresponding conditions hold:
|
||||||
|
|
||||||
* j is in the range [first2,last2).
|
* j is in the range [first2,last2).
|
||||||
* ``!(*i == *(first2 + (i - first1)))``
|
* ``!(*i == *(first2 + (i - first1)))``
|
||||||
* ``!pred(*i, *(first2 + (i - first1)))``
|
* ``!pred(*i, *(first2 + (i - first1)))``
|
||||||
|
|
||||||
| Returns the pair ``first1 + min(last1 - first1, last2 - first2)`` and ``first2 + min(last1 - first1, last2 - first2)`` if such an iterator i is not found.
|
| Returns the pair ``first1 + min(last1 - first1, last2 - first2)`` and ``first2 + min(last1 - first1, last2 - first2)`` if such an iterator i is not found.
|
||||||
|
|
||||||
Examples
|
Examples
|
||||||
|
|
|
@ -8,6 +8,7 @@ Libraries
|
||||||
|
|
||||||
array/index
|
array/index
|
||||||
algorithm/index
|
algorithm/index
|
||||||
|
string/index
|
||||||
|
|
||||||
.. _sprout-listed_by_alphabetically:
|
.. _sprout-listed_by_alphabetically:
|
||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
|
@ -16,6 +17,7 @@ Libraries Listed Alphabetically
|
||||||
|
|
||||||
* :doc:`algorithm <./algorithm/index>` - Standard library like generic algorithms.
|
* :doc:`algorithm <./algorithm/index>` - Standard library like generic algorithms.
|
||||||
* :doc:`array <./array/index>` - Standard library compliant class template for storing fixed-size sequences of objects.
|
* :doc:`array <./array/index>` - Standard library compliant class template for storing fixed-size sequences of objects.
|
||||||
|
* :doc:`string <./string/index>` - Compile-time string of fixed-length buffer.
|
||||||
|
|
||||||
.. _sprout-listed_by_category:
|
.. _sprout-listed_by_category:
|
||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
|
|
169
docs/_sources/libs/string/index.txt
Normal file
169
docs/_sources/libs/string/index.txt
Normal file
|
@ -0,0 +1,169 @@
|
||||||
|
.. _sprout-string:
|
||||||
|
###############################################################################
|
||||||
|
Sprout.String
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:hidden:
|
||||||
|
|
||||||
|
Description
|
||||||
|
========================================
|
||||||
|
|
||||||
|
Character traits
|
||||||
|
****************************************
|
||||||
|
|
||||||
|
Classes
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
======================================== ===============================================================================
|
||||||
|
class
|
||||||
|
======================================== ===============================================================================
|
||||||
|
:doc:`char_traits <./char_traits/index>`
|
||||||
|
======================================== ===============================================================================
|
||||||
|
|
||||||
|
String classes
|
||||||
|
****************************************
|
||||||
|
|
||||||
|
Classes
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
class
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
:doc:`basic_string <./basic_string/index>`
|
||||||
|
:doc:`string <./string>`
|
||||||
|
:doc:`wstring <./wstring>`
|
||||||
|
:doc:`u16string <./u16string>`
|
||||||
|
:doc:`u32string <./u32string>`
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
|
||||||
|
Non-member functions
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
specialized algorithms
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
function
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
:doc:`swap <./basic_string/swap-global>`
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
|
||||||
|
concatenations
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
function
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
:doc:`operator+ <./basic_string/operator-plus>`
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
|
||||||
|
comparisons
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
function
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
:doc:`operator== <./basic_string/operator-equal_to>`
|
||||||
|
:doc:`operator!= <./basic_string/operator-not_equal_to>`
|
||||||
|
:doc:`operator\< <./basic_string/operator-less>`
|
||||||
|
:doc:`operator\> <./basic_string/operator-greater>`
|
||||||
|
:doc:`operator\<= <./basic_string/operator-less_equal>`
|
||||||
|
:doc:`operator\>= <./basic_string/operator-greater_equal>`
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
|
||||||
|
inserters and extractors
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
function
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
:doc:`operator\<\< <./basic_string/operator-left_shift>`
|
||||||
|
:doc:`operator\>\> <./basic_string/operator-right_shift>`
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
|
||||||
|
numeric conversions
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
================================================================================ ===============================================================================
|
||||||
|
function
|
||||||
|
================================================================================ ===============================================================================
|
||||||
|
:doc:`string_to_int <./string_to_int>`
|
||||||
|
:doc:`stoi <./stoi>`
|
||||||
|
:doc:`stol <./stol>`
|
||||||
|
:doc:`stoul <./stoul>`
|
||||||
|
:doc:`stoll <./stoll>`
|
||||||
|
:doc:`stoull <./stoull>`
|
||||||
|
:doc:`stoull <./stoull>`
|
||||||
|
:doc:`stoimax <./stoimax>`
|
||||||
|
:doc:`stoumax <./stoumax>`
|
||||||
|
:doc:`from_string \<IntType\> <./from_string-inttype>`
|
||||||
|
:doc:`string_to_float <./string_to_float>`
|
||||||
|
:doc:`stof <./stof>`
|
||||||
|
:doc:`stod <./stod>`
|
||||||
|
:doc:`stold <./stold>`
|
||||||
|
:doc:`from_string \<FloatType\> <./from_string-floattype>`
|
||||||
|
:doc:`int_to_string <./int_to_string>`
|
||||||
|
:doc:`to_string_of \<IntType\> <./to_string_of-inttype>`
|
||||||
|
:doc:`to_string \<IntType\> <./to_string-inttype>`
|
||||||
|
:doc:`to_wstring \<IntType\> <./to_wstring-inttype>`
|
||||||
|
:doc:`to_u16string \<IntType\> <./to_u16string-inttype>`
|
||||||
|
:doc:`to_u32string \<IntType\> <./to_u32string-inttype>`
|
||||||
|
:doc:`float_to_string <./float_to_string>`
|
||||||
|
:doc:`float_to_string_exp <./float_to_string_exp>`
|
||||||
|
:doc:`to_string_of \<FloatType\> <./to_string_of-floattype>`
|
||||||
|
:doc:`to_string \<FloatType\> <./to_string-floattype>`
|
||||||
|
:doc:`to_wstring \<FloatType\> <./to_wstring-floattype>`
|
||||||
|
:doc:`to_u16string \<FloatType\> <./to_u16string-floattype>`
|
||||||
|
:doc:`to_u32string \<FloatType\> <./to_u32string-floattype>`
|
||||||
|
================================================================================ ===============================================================================
|
||||||
|
|
||||||
|
string generators
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
function
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
:doc:`to_string <./to_string>`
|
||||||
|
:doc:`string_from_c_str <./string_from_c_str>`
|
||||||
|
:doc:`make_string <./make_string>`
|
||||||
|
:doc:`shrink <./shrink>`
|
||||||
|
:doc:`stretch <./stretch>`
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
|
||||||
|
Tuple interface
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
matafunction
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
:doc:`std::tuple_size <./basic_string/std-tuple_size>`
|
||||||
|
:doc:`std::tuple_element <./basic_string/std-tuple_element>`
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
function
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
:doc:`tuple_get <./basic_string/tuple_get>`
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
|
||||||
|
Hash support
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
class
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
:doc:`std::hash <./basic_string/std-hash>`
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
function
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
:doc:`hash_value <./basic_string/hash_value>`
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
|
||||||
|
Header
|
||||||
|
========================================
|
||||||
|
|
||||||
|
``sprout/string.hpp``
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
||||||
<link rel="top" title="Sprout 1.0 documentation" href="../../index.html" />
|
<link rel="top" title="Sprout 1.0 documentation" href="../../index.html" />
|
||||||
<link rel="up" title="Sprout.Algorithm" href="index.html" />
|
<link rel="up" title="Sprout.Algorithm" href="index.html" />
|
||||||
|
<link rel="next" title="Sprout.String" href="../string/index.html" />
|
||||||
<link rel="prev" title="tristate_lexicographical_compare" href="tristate_lexicographical_compare.html" />
|
<link rel="prev" title="tristate_lexicographical_compare" href="tristate_lexicographical_compare.html" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -36,6 +37,9 @@
|
||||||
<li class="right" style="margin-right: 10px">
|
<li class="right" style="margin-right: 10px">
|
||||||
<a href="../../genindex.html" title="General Index"
|
<a href="../../genindex.html" title="General Index"
|
||||||
accesskey="I">index</a></li>
|
accesskey="I">index</a></li>
|
||||||
|
<li class="right" >
|
||||||
|
<a href="../string/index.html" title="Sprout.String"
|
||||||
|
accesskey="N">next</a> |</li>
|
||||||
<li class="right" >
|
<li class="right" >
|
||||||
<a href="tristate_lexicographical_compare.html" title="tristate_lexicographical_compare"
|
<a href="tristate_lexicographical_compare.html" title="tristate_lexicographical_compare"
|
||||||
accesskey="P">previous</a> |</li>
|
accesskey="P">previous</a> |</li>
|
||||||
|
@ -63,6 +67,9 @@
|
||||||
<h4>Previous topic</h4>
|
<h4>Previous topic</h4>
|
||||||
<p class="topless"><a href="tristate_lexicographical_compare.html"
|
<p class="topless"><a href="tristate_lexicographical_compare.html"
|
||||||
title="previous chapter">tristate_lexicographical_compare</a></p>
|
title="previous chapter">tristate_lexicographical_compare</a></p>
|
||||||
|
<h4>Next topic</h4>
|
||||||
|
<p class="topless"><a href="../string/index.html"
|
||||||
|
title="next chapter">Sprout.String</a></p>
|
||||||
<h3>This Page</h3>
|
<h3>This Page</h3>
|
||||||
<ul class="this-page-menu">
|
<ul class="this-page-menu">
|
||||||
<li><a href="../../_sources/libs/algorithm/clamp.txt"
|
<li><a href="../../_sources/libs/algorithm/clamp.txt"
|
||||||
|
@ -162,6 +169,9 @@
|
||||||
<li class="right" style="margin-right: 10px">
|
<li class="right" style="margin-right: 10px">
|
||||||
<a href="../../genindex.html" title="General Index"
|
<a href="../../genindex.html" title="General Index"
|
||||||
>index</a></li>
|
>index</a></li>
|
||||||
|
<li class="right" >
|
||||||
|
<a href="../string/index.html" title="Sprout.String"
|
||||||
|
>next</a> |</li>
|
||||||
<li class="right" >
|
<li class="right" >
|
||||||
<a href="tristate_lexicographical_compare.html" title="tristate_lexicographical_compare"
|
<a href="tristate_lexicographical_compare.html" title="tristate_lexicographical_compare"
|
||||||
>previous</a> |</li>
|
>previous</a> |</li>
|
||||||
|
|
|
@ -113,6 +113,7 @@
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><a class="reference internal" href="algorithm/index.html"><em>algorithm</em></a> - Standard library like generic algorithms.</li>
|
<li><a class="reference internal" href="algorithm/index.html"><em>algorithm</em></a> - Standard library like generic algorithms.</li>
|
||||||
<li><a class="reference internal" href="array/index.html"><em>array</em></a> - Standard library compliant class template for storing fixed-size sequences of objects.</li>
|
<li><a class="reference internal" href="array/index.html"><em>array</em></a> - Standard library compliant class template for storing fixed-size sequences of objects.</li>
|
||||||
|
<li><a class="reference internal" href="string/index.html"><em>string</em></a> - Compile-time string of fixed-length buffer.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="libraries-listed-by-category">
|
<div class="section" id="libraries-listed-by-category">
|
||||||
|
@ -121,7 +122,7 @@
|
||||||
<h3>Containers and Data structures<a class="headerlink" href="#containers-and-data-structures" title="Permalink to this headline">¶</a></h3>
|
<h3>Containers and Data structures<a class="headerlink" href="#containers-and-data-structures" title="Permalink to this headline">¶</a></h3>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><a class="reference internal" href="array/index.html"><em>array</em></a> - Standard library compliant class template for storing fixed-size sequences of objects.</li>
|
<li><a class="reference internal" href="array/index.html"><em>array</em></a> - Standard library compliant class template for storing fixed-size sequences of objects.</li>
|
||||||
<li><tt class="xref doc docutils literal"><span class="pre">string</span></tt> - Compile-time string of fixed-length buffer.</li>
|
<li><a class="reference internal" href="string/index.html"><em>string</em></a> - Compile-time string of fixed-length buffer.</li>
|
||||||
<li><tt class="xref doc docutils literal"><span class="pre">tuple</span></tt></li>
|
<li><tt class="xref doc docutils literal"><span class="pre">tuple</span></tt></li>
|
||||||
<li><tt class="xref doc docutils literal"><span class="pre">optional</span></tt></li>
|
<li><tt class="xref doc docutils literal"><span class="pre">optional</span></tt></li>
|
||||||
<li><tt class="xref doc docutils literal"><span class="pre">variant</span></tt></li>
|
<li><tt class="xref doc docutils literal"><span class="pre">variant</span></tt></li>
|
||||||
|
|
501
docs/libs/string/index.html
Normal file
501
docs/libs/string/index.html
Normal file
|
@ -0,0 +1,501 @@
|
||||||
|
|
||||||
|
|
||||||
|
<!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/html; charset=utf-8" />
|
||||||
|
|
||||||
|
<title>Sprout.String — Sprout 1.0 documentation</title>
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="../../_static/sphinxdoc.css" type="text/css" />
|
||||||
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var DOCUMENTATION_OPTIONS = {
|
||||||
|
URL_ROOT: '../../',
|
||||||
|
VERSION: '1.0',
|
||||||
|
COLLAPSE_INDEX: false,
|
||||||
|
FILE_SUFFIX: '.html',
|
||||||
|
HAS_SOURCE: true
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
<script type="text/javascript" src="../../_static/jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
||||||
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
||||||
|
<link rel="top" title="Sprout 1.0 documentation" href="../../index.html" />
|
||||||
|
<link rel="up" title="Libraries" href="../index.html" />
|
||||||
|
<link rel="prev" title="clamp" href="../algorithm/clamp.html" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="related">
|
||||||
|
<h3>Navigation</h3>
|
||||||
|
<ul>
|
||||||
|
<li class="right" style="margin-right: 10px">
|
||||||
|
<a href="../../genindex.html" title="General Index"
|
||||||
|
accesskey="I">index</a></li>
|
||||||
|
<li class="right" >
|
||||||
|
<a href="../algorithm/clamp.html" title="clamp"
|
||||||
|
accesskey="P">previous</a> |</li>
|
||||||
|
<li><a href="../../index.html">Sprout 1.0 documentation</a> »</li>
|
||||||
|
<li><a href="../index.html" accesskey="U">Libraries</a> »</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="sphinxsidebar">
|
||||||
|
<div class="sphinxsidebarwrapper">
|
||||||
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
||||||
|
<ul>
|
||||||
|
<li><a class="reference internal" href="#">Sprout.String</a><ul>
|
||||||
|
<li><a class="reference internal" href="#description">Description</a><ul>
|
||||||
|
<li><a class="reference internal" href="#character-traits">Character traits</a><ul>
|
||||||
|
<li><a class="reference internal" href="#classes">Classes</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a class="reference internal" href="#string-classes">String classes</a><ul>
|
||||||
|
<li><a class="reference internal" href="#id2">Classes</a></li>
|
||||||
|
<li><a class="reference internal" href="#non-member-functions">Non-member functions</a><ul>
|
||||||
|
<li><a class="reference internal" href="#specialized-algorithms">specialized algorithms</a></li>
|
||||||
|
<li><a class="reference internal" href="#concatenations">concatenations</a></li>
|
||||||
|
<li><a class="reference internal" href="#comparisons">comparisons</a></li>
|
||||||
|
<li><a class="reference internal" href="#inserters-and-extractors">inserters and extractors</a></li>
|
||||||
|
<li><a class="reference internal" href="#numeric-conversions">numeric conversions</a></li>
|
||||||
|
<li><a class="reference internal" href="#string-generators">string generators</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a class="reference internal" href="#tuple-interface">Tuple interface</a></li>
|
||||||
|
<li><a class="reference internal" href="#hash-support">Hash support</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a class="reference internal" href="#header">Header</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h4>Previous topic</h4>
|
||||||
|
<p class="topless"><a href="../algorithm/clamp.html"
|
||||||
|
title="previous chapter">clamp</a></p>
|
||||||
|
<h3>This Page</h3>
|
||||||
|
<ul class="this-page-menu">
|
||||||
|
<li><a href="../../_sources/libs/string/index.txt"
|
||||||
|
rel="nofollow">Show Source</a></li>
|
||||||
|
</ul>
|
||||||
|
<div id="searchbox" style="display: none">
|
||||||
|
<h3>Quick search</h3>
|
||||||
|
<form class="search" action="../../search.html" method="get">
|
||||||
|
<input type="text" name="q" />
|
||||||
|
<input type="submit" value="Go" />
|
||||||
|
<input type="hidden" name="check_keywords" value="yes" />
|
||||||
|
<input type="hidden" name="area" value="default" />
|
||||||
|
</form>
|
||||||
|
<p class="searchtip" style="font-size: 90%">
|
||||||
|
Enter search terms or a module, class or function name.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="document">
|
||||||
|
<div class="documentwrapper">
|
||||||
|
<div class="bodywrapper">
|
||||||
|
<div class="body">
|
||||||
|
|
||||||
|
<div class="section" id="id1">
|
||||||
|
<h1>Sprout.String<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h1>
|
||||||
|
<div class="toctree-wrapper compound">
|
||||||
|
</div>
|
||||||
|
<div class="section" id="description">
|
||||||
|
<h2>Description<a class="headerlink" href="#description" title="Permalink to this headline">¶</a></h2>
|
||||||
|
<div class="section" id="character-traits">
|
||||||
|
<h3>Character traits<a class="headerlink" href="#character-traits" title="Permalink to this headline">¶</a></h3>
|
||||||
|
<div class="section" id="classes">
|
||||||
|
<h4>Classes<a class="headerlink" href="#classes" title="Permalink to this headline">¶</a></h4>
|
||||||
|
<table border="1" class="docutils">
|
||||||
|
<colgroup>
|
||||||
|
<col width="34%" />
|
||||||
|
<col width="66%" />
|
||||||
|
</colgroup>
|
||||||
|
<thead valign="bottom">
|
||||||
|
<tr class="row-odd"><th class="head">class</th>
|
||||||
|
<th class="head"> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody valign="top">
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">char_traits</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="section" id="string-classes">
|
||||||
|
<h3>String classes<a class="headerlink" href="#string-classes" title="Permalink to this headline">¶</a></h3>
|
||||||
|
<div class="section" id="id2">
|
||||||
|
<h4>Classes<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h4>
|
||||||
|
<table border="1" class="docutils">
|
||||||
|
<colgroup>
|
||||||
|
<col width="43%" />
|
||||||
|
<col width="57%" />
|
||||||
|
</colgroup>
|
||||||
|
<thead valign="bottom">
|
||||||
|
<tr class="row-odd"><th class="head">class</th>
|
||||||
|
<th class="head"> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody valign="top">
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">basic_string</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-odd"><td><tt class="xref doc docutils literal"><span class="pre">string</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">wstring</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-odd"><td><tt class="xref doc docutils literal"><span class="pre">u16string</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">u32string</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="section" id="non-member-functions">
|
||||||
|
<h4>Non-member functions<a class="headerlink" href="#non-member-functions" title="Permalink to this headline">¶</a></h4>
|
||||||
|
<div class="section" id="specialized-algorithms">
|
||||||
|
<h5>specialized algorithms<a class="headerlink" href="#specialized-algorithms" title="Permalink to this headline">¶</a></h5>
|
||||||
|
<table border="1" class="docutils">
|
||||||
|
<colgroup>
|
||||||
|
<col width="43%" />
|
||||||
|
<col width="57%" />
|
||||||
|
</colgroup>
|
||||||
|
<thead valign="bottom">
|
||||||
|
<tr class="row-odd"><th class="head">function</th>
|
||||||
|
<th class="head"> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody valign="top">
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">swap</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="section" id="concatenations">
|
||||||
|
<h5>concatenations<a class="headerlink" href="#concatenations" title="Permalink to this headline">¶</a></h5>
|
||||||
|
<table border="1" class="docutils">
|
||||||
|
<colgroup>
|
||||||
|
<col width="43%" />
|
||||||
|
<col width="57%" />
|
||||||
|
</colgroup>
|
||||||
|
<thead valign="bottom">
|
||||||
|
<tr class="row-odd"><th class="head">function</th>
|
||||||
|
<th class="head"> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody valign="top">
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">operator+</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="section" id="comparisons">
|
||||||
|
<h5>comparisons<a class="headerlink" href="#comparisons" title="Permalink to this headline">¶</a></h5>
|
||||||
|
<table border="1" class="docutils">
|
||||||
|
<colgroup>
|
||||||
|
<col width="43%" />
|
||||||
|
<col width="57%" />
|
||||||
|
</colgroup>
|
||||||
|
<thead valign="bottom">
|
||||||
|
<tr class="row-odd"><th class="head">function</th>
|
||||||
|
<th class="head"> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody valign="top">
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">operator==</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-odd"><td><tt class="xref doc docutils literal"><span class="pre">operator!=</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">operator<</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-odd"><td><tt class="xref doc docutils literal"><span class="pre">operator></span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">operator<=</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-odd"><td><tt class="xref doc docutils literal"><span class="pre">operator>=</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="section" id="inserters-and-extractors">
|
||||||
|
<h5>inserters and extractors<a class="headerlink" href="#inserters-and-extractors" title="Permalink to this headline">¶</a></h5>
|
||||||
|
<table border="1" class="docutils">
|
||||||
|
<colgroup>
|
||||||
|
<col width="43%" />
|
||||||
|
<col width="57%" />
|
||||||
|
</colgroup>
|
||||||
|
<thead valign="bottom">
|
||||||
|
<tr class="row-odd"><th class="head">function</th>
|
||||||
|
<th class="head"> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody valign="top">
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">operator<<</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-odd"><td><tt class="xref doc docutils literal"><span class="pre">operator>></span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="section" id="numeric-conversions">
|
||||||
|
<h5>numeric conversions<a class="headerlink" href="#numeric-conversions" title="Permalink to this headline">¶</a></h5>
|
||||||
|
<table border="1" class="docutils">
|
||||||
|
<colgroup>
|
||||||
|
<col width="50%" />
|
||||||
|
<col width="50%" />
|
||||||
|
</colgroup>
|
||||||
|
<thead valign="bottom">
|
||||||
|
<tr class="row-odd"><th class="head">function</th>
|
||||||
|
<th class="head"> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody valign="top">
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">string_to_int</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-odd"><td><tt class="xref doc docutils literal"><span class="pre">stoi</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">stol</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-odd"><td><tt class="xref doc docutils literal"><span class="pre">stoul</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">stoll</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-odd"><td><tt class="xref doc docutils literal"><span class="pre">stoull</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">stoull</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-odd"><td><tt class="xref doc docutils literal"><span class="pre">stoimax</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">stoumax</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-odd"><td><tt class="xref doc docutils literal"><span class="pre">from_string</span> <span class="pre"><IntType></span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">string_to_float</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-odd"><td><tt class="xref doc docutils literal"><span class="pre">stof</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">stod</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-odd"><td><tt class="xref doc docutils literal"><span class="pre">stold</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">from_string</span> <span class="pre"><FloatType></span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-odd"><td><tt class="xref doc docutils literal"><span class="pre">int_to_string</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">to_string_of</span> <span class="pre"><IntType></span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-odd"><td><tt class="xref doc docutils literal"><span class="pre">to_string</span> <span class="pre"><IntType></span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">to_wstring</span> <span class="pre"><IntType></span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-odd"><td><tt class="xref doc docutils literal"><span class="pre">to_u16string</span> <span class="pre"><IntType></span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">to_u32string</span> <span class="pre"><IntType></span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-odd"><td><tt class="xref doc docutils literal"><span class="pre">float_to_string</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">float_to_string_exp</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-odd"><td><tt class="xref doc docutils literal"><span class="pre">to_string_of</span> <span class="pre"><FloatType></span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">to_string</span> <span class="pre"><FloatType></span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-odd"><td><tt class="xref doc docutils literal"><span class="pre">to_wstring</span> <span class="pre"><FloatType></span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">to_u16string</span> <span class="pre"><FloatType></span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-odd"><td><tt class="xref doc docutils literal"><span class="pre">to_u32string</span> <span class="pre"><FloatType></span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="section" id="string-generators">
|
||||||
|
<h5>string generators<a class="headerlink" href="#string-generators" title="Permalink to this headline">¶</a></h5>
|
||||||
|
<table border="1" class="docutils">
|
||||||
|
<colgroup>
|
||||||
|
<col width="43%" />
|
||||||
|
<col width="57%" />
|
||||||
|
</colgroup>
|
||||||
|
<thead valign="bottom">
|
||||||
|
<tr class="row-odd"><th class="head">function</th>
|
||||||
|
<th class="head"> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody valign="top">
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">to_string</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-odd"><td><tt class="xref doc docutils literal"><span class="pre">string_from_c_str</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">make_string</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-odd"><td><tt class="xref doc docutils literal"><span class="pre">shrink</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">stretch</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="section" id="tuple-interface">
|
||||||
|
<h4>Tuple interface<a class="headerlink" href="#tuple-interface" title="Permalink to this headline">¶</a></h4>
|
||||||
|
<table border="1" class="docutils">
|
||||||
|
<colgroup>
|
||||||
|
<col width="43%" />
|
||||||
|
<col width="57%" />
|
||||||
|
</colgroup>
|
||||||
|
<thead valign="bottom">
|
||||||
|
<tr class="row-odd"><th class="head">matafunction</th>
|
||||||
|
<th class="head"> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody valign="top">
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">std::tuple_size</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="row-odd"><td><tt class="xref doc docutils literal"><span class="pre">std::tuple_element</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<table border="1" class="docutils">
|
||||||
|
<colgroup>
|
||||||
|
<col width="43%" />
|
||||||
|
<col width="57%" />
|
||||||
|
</colgroup>
|
||||||
|
<thead valign="bottom">
|
||||||
|
<tr class="row-odd"><th class="head">function</th>
|
||||||
|
<th class="head"> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody valign="top">
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">tuple_get</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="section" id="hash-support">
|
||||||
|
<h4>Hash support<a class="headerlink" href="#hash-support" title="Permalink to this headline">¶</a></h4>
|
||||||
|
<table border="1" class="docutils">
|
||||||
|
<colgroup>
|
||||||
|
<col width="43%" />
|
||||||
|
<col width="57%" />
|
||||||
|
</colgroup>
|
||||||
|
<thead valign="bottom">
|
||||||
|
<tr class="row-odd"><th class="head">class</th>
|
||||||
|
<th class="head"> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody valign="top">
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">std::hash</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<table border="1" class="docutils">
|
||||||
|
<colgroup>
|
||||||
|
<col width="43%" />
|
||||||
|
<col width="57%" />
|
||||||
|
</colgroup>
|
||||||
|
<thead valign="bottom">
|
||||||
|
<tr class="row-odd"><th class="head">function</th>
|
||||||
|
<th class="head"> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody valign="top">
|
||||||
|
<tr class="row-even"><td><tt class="xref doc docutils literal"><span class="pre">hash_value</span></tt></td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="section" id="header">
|
||||||
|
<h2>Header<a class="headerlink" href="#header" title="Permalink to this headline">¶</a></h2>
|
||||||
|
<p><tt class="docutils literal"><span class="pre">sprout/string.hpp</span></tt></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="clearer"></div>
|
||||||
|
</div>
|
||||||
|
<div class="related">
|
||||||
|
<h3>Navigation</h3>
|
||||||
|
<ul>
|
||||||
|
<li class="right" style="margin-right: 10px">
|
||||||
|
<a href="../../genindex.html" title="General Index"
|
||||||
|
>index</a></li>
|
||||||
|
<li class="right" >
|
||||||
|
<a href="../algorithm/clamp.html" title="clamp"
|
||||||
|
>previous</a> |</li>
|
||||||
|
<li><a href="../../index.html">Sprout 1.0 documentation</a> »</li>
|
||||||
|
<li><a href="../index.html" >Libraries</a> »</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="footer">
|
||||||
|
© Copyright 2013, Bolero MURAKAMI.
|
||||||
|
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
File diff suppressed because one or more lines are too long
BIN
favicon.ico
Normal file
BIN
favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 894 B |
|
@ -9,6 +9,8 @@
|
||||||
<meta name="keywords" content="中3女子" />
|
<meta name="keywords" content="中3女子" />
|
||||||
<meta name="description" content="中3女子" />
|
<meta name="description" content="中3女子" />
|
||||||
<meta name="Author" content="Bolero MURAKAMI" />
|
<meta name="Author" content="Bolero MURAKAMI" />
|
||||||
|
<link rel="shortcut icon" href="favicon.ico" type="image/vnd.microsoft.icon" />
|
||||||
|
<link rel="icon" href="favicon.ico" type="image/vnd.microsoft.icon" />
|
||||||
<link rel="stylesheet" type="text/css" href="assets/bootstrap/css/bootstrap.min.css" media="screen, projection" />
|
<link rel="stylesheet" type="text/css" href="assets/bootstrap/css/bootstrap.min.css" media="screen, projection" />
|
||||||
<link rel="stylesheet" type="text/css" href="assets/bootstrap/css/bootstrap-responsive.css" media="screen, projection" />
|
<link rel="stylesheet" type="text/css" href="assets/bootstrap/css/bootstrap-responsive.css" media="screen, projection" />
|
||||||
<script type="text/javascript" src="http://code.jquery.com/jquery.js"></script>
|
<script type="text/javascript" src="http://code.jquery.com/jquery.js"></script>
|
||||||
|
|
|
@ -32,9 +32,11 @@ Returns
|
||||||
========================================
|
========================================
|
||||||
|
|
||||||
| A pair of iterators i and j such that ``j == first2 + (i - first1)`` and i is the first iterator in the range [first1,last1) for which the following corresponding conditions hold:
|
| A pair of iterators i and j such that ``j == first2 + (i - first1)`` and i is the first iterator in the range [first1,last1) for which the following corresponding conditions hold:
|
||||||
|
|
||||||
* j is in the range [first2,last2).
|
* j is in the range [first2,last2).
|
||||||
* ``!(*i == *(first2 + (i - first1)))``
|
* ``!(*i == *(first2 + (i - first1)))``
|
||||||
* ``!pred(*i, *(first2 + (i - first1)))``
|
* ``!pred(*i, *(first2 + (i - first1)))``
|
||||||
|
|
||||||
| Returns the pair ``first1 + min(last1 - first1, last2 - first2)`` and ``first2 + min(last1 - first1, last2 - first2)`` if such an iterator i is not found.
|
| Returns the pair ``first1 + min(last1 - first1, last2 - first2)`` and ``first2 + min(last1 - first1, last2 - first2)`` if such an iterator i is not found.
|
||||||
|
|
||||||
Examples
|
Examples
|
||||||
|
|
|
@ -8,6 +8,7 @@ Libraries
|
||||||
|
|
||||||
array/index
|
array/index
|
||||||
algorithm/index
|
algorithm/index
|
||||||
|
string/index
|
||||||
|
|
||||||
.. _sprout-listed_by_alphabetically:
|
.. _sprout-listed_by_alphabetically:
|
||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
|
@ -16,6 +17,7 @@ Libraries Listed Alphabetically
|
||||||
|
|
||||||
* :doc:`algorithm <./algorithm/index>` - Standard library like generic algorithms.
|
* :doc:`algorithm <./algorithm/index>` - Standard library like generic algorithms.
|
||||||
* :doc:`array <./array/index>` - Standard library compliant class template for storing fixed-size sequences of objects.
|
* :doc:`array <./array/index>` - Standard library compliant class template for storing fixed-size sequences of objects.
|
||||||
|
* :doc:`string <./string/index>` - Compile-time string of fixed-length buffer.
|
||||||
|
|
||||||
.. _sprout-listed_by_category:
|
.. _sprout-listed_by_category:
|
||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
|
|
169
source/libs/string/index.rst
Normal file
169
source/libs/string/index.rst
Normal file
|
@ -0,0 +1,169 @@
|
||||||
|
.. _sprout-string:
|
||||||
|
###############################################################################
|
||||||
|
Sprout.String
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:hidden:
|
||||||
|
|
||||||
|
Description
|
||||||
|
========================================
|
||||||
|
|
||||||
|
Character traits
|
||||||
|
****************************************
|
||||||
|
|
||||||
|
Classes
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
======================================== ===============================================================================
|
||||||
|
class
|
||||||
|
======================================== ===============================================================================
|
||||||
|
:doc:`char_traits <./char_traits/index>`
|
||||||
|
======================================== ===============================================================================
|
||||||
|
|
||||||
|
String classes
|
||||||
|
****************************************
|
||||||
|
|
||||||
|
Classes
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
class
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
:doc:`basic_string <./basic_string/index>`
|
||||||
|
:doc:`string <./string>`
|
||||||
|
:doc:`wstring <./wstring>`
|
||||||
|
:doc:`u16string <./u16string>`
|
||||||
|
:doc:`u32string <./u32string>`
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
|
||||||
|
Non-member functions
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
specialized algorithms
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
function
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
:doc:`swap <./basic_string/swap-global>`
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
|
||||||
|
concatenations
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
function
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
:doc:`operator+ <./basic_string/operator-plus>`
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
|
||||||
|
comparisons
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
function
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
:doc:`operator== <./basic_string/operator-equal_to>`
|
||||||
|
:doc:`operator!= <./basic_string/operator-not_equal_to>`
|
||||||
|
:doc:`operator\< <./basic_string/operator-less>`
|
||||||
|
:doc:`operator\> <./basic_string/operator-greater>`
|
||||||
|
:doc:`operator\<= <./basic_string/operator-less_equal>`
|
||||||
|
:doc:`operator\>= <./basic_string/operator-greater_equal>`
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
|
||||||
|
inserters and extractors
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
function
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
:doc:`operator\<\< <./basic_string/operator-left_shift>`
|
||||||
|
:doc:`operator\>\> <./basic_string/operator-right_shift>`
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
|
||||||
|
numeric conversions
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
================================================================================ ===============================================================================
|
||||||
|
function
|
||||||
|
================================================================================ ===============================================================================
|
||||||
|
:doc:`string_to_int <./string_to_int>`
|
||||||
|
:doc:`stoi <./stoi>`
|
||||||
|
:doc:`stol <./stol>`
|
||||||
|
:doc:`stoul <./stoul>`
|
||||||
|
:doc:`stoll <./stoll>`
|
||||||
|
:doc:`stoull <./stoull>`
|
||||||
|
:doc:`stoull <./stoull>`
|
||||||
|
:doc:`stoimax <./stoimax>`
|
||||||
|
:doc:`stoumax <./stoumax>`
|
||||||
|
:doc:`from_string \<IntType\> <./from_string-inttype>`
|
||||||
|
:doc:`string_to_float <./string_to_float>`
|
||||||
|
:doc:`stof <./stof>`
|
||||||
|
:doc:`stod <./stod>`
|
||||||
|
:doc:`stold <./stold>`
|
||||||
|
:doc:`from_string \<FloatType\> <./from_string-floattype>`
|
||||||
|
:doc:`int_to_string <./int_to_string>`
|
||||||
|
:doc:`to_string_of \<IntType\> <./to_string_of-inttype>`
|
||||||
|
:doc:`to_string \<IntType\> <./to_string-inttype>`
|
||||||
|
:doc:`to_wstring \<IntType\> <./to_wstring-inttype>`
|
||||||
|
:doc:`to_u16string \<IntType\> <./to_u16string-inttype>`
|
||||||
|
:doc:`to_u32string \<IntType\> <./to_u32string-inttype>`
|
||||||
|
:doc:`float_to_string <./float_to_string>`
|
||||||
|
:doc:`float_to_string_exp <./float_to_string_exp>`
|
||||||
|
:doc:`to_string_of \<FloatType\> <./to_string_of-floattype>`
|
||||||
|
:doc:`to_string \<FloatType\> <./to_string-floattype>`
|
||||||
|
:doc:`to_wstring \<FloatType\> <./to_wstring-floattype>`
|
||||||
|
:doc:`to_u16string \<FloatType\> <./to_u16string-floattype>`
|
||||||
|
:doc:`to_u32string \<FloatType\> <./to_u32string-floattype>`
|
||||||
|
================================================================================ ===============================================================================
|
||||||
|
|
||||||
|
string generators
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
function
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
:doc:`to_string <./to_string>`
|
||||||
|
:doc:`string_from_c_str <./string_from_c_str>`
|
||||||
|
:doc:`make_string <./make_string>`
|
||||||
|
:doc:`shrink <./shrink>`
|
||||||
|
:doc:`stretch <./stretch>`
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
|
||||||
|
Tuple interface
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
matafunction
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
:doc:`std::tuple_size <./basic_string/std-tuple_size>`
|
||||||
|
:doc:`std::tuple_element <./basic_string/std-tuple_element>`
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
function
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
:doc:`tuple_get <./basic_string/tuple_get>`
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
|
||||||
|
Hash support
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
class
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
:doc:`std::hash <./basic_string/std-hash>`
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
function
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
:doc:`hash_value <./basic_string/hash_value>`
|
||||||
|
============================================================ ===============================================================================
|
||||||
|
|
||||||
|
Header
|
||||||
|
========================================
|
||||||
|
|
||||||
|
``sprout/string.hpp``
|
||||||
|
|
Loading…
Add table
Reference in a new issue