diff --git a/docs/_sources/libs/array/array/assign.txt b/docs/_sources/libs/array/array/assign.txt index 76f9e6f2..8a6eafec 100644 --- a/docs/_sources/libs/array/array/assign.txt +++ b/docs/_sources/libs/array/array/assign.txt @@ -30,8 +30,10 @@ Examples using namespace sprout; auto x = array{{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}; - x.assign(0); - SPROUT_ASSERT_MSG(x[0] == 0, "filled with 0."); + int main() { + x.assign(0); + SPROUT_ASSERT_MSG(x[0] == 0, "filled with 0."); + } .. sourcecode:: c++ diff --git a/docs/_sources/libs/array/array/fill.txt b/docs/_sources/libs/array/array/fill.txt index 15e16456..a6138e7a 100644 --- a/docs/_sources/libs/array/array/fill.txt +++ b/docs/_sources/libs/array/array/fill.txt @@ -30,8 +30,10 @@ Examples using namespace sprout; auto x = array{{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}; - x.fill(0); - SPROUT_ASSERT_MSG(x[0] == 0, "filled with 0."); + int main() { + x.fill(0); + SPROUT_ASSERT_MSG(x[0] == 0, "filled with 0."); + } .. sourcecode:: c++ diff --git a/docs/_sources/libs/array/array/operator-assign.txt b/docs/_sources/libs/array/array/operator-assign.txt index 5df7432f..9fddc980 100644 --- a/docs/_sources/libs/array/array/operator-assign.txt +++ b/docs/_sources/libs/array/array/operator-assign.txt @@ -35,8 +35,10 @@ Examples auto x = array{{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}; SPROUT_STATIC_CONSTEXPR auto y = array{{10, 9, 8, 7, 6, 5, 4, 3, 2, 1}}; - x = y; - SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + int main() { + x = y; + SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + } Header ======================================== diff --git a/docs/_sources/libs/array/array/std-tuple_size.txt b/docs/_sources/libs/array/array/std-tuple_size.txt index e40907bd..d1ab43c0 100644 --- a/docs/_sources/libs/array/array/std-tuple_size.txt +++ b/docs/_sources/libs/array/array/std-tuple_size.txt @@ -33,8 +33,8 @@ Examples using namespace sprout; using type = array; - SPROUT_STATIC_CONSTEXPR auto size = std::tuple_size::value; - static_assert(size == 10, "tuple size of array is 10."); + SPROUT_STATIC_CONSTEXPR auto n = std::tuple_size::value; + static_assert(n == 10, "tuple size of array is 10."); Header ======================================== diff --git a/docs/_sources/libs/array/array/swap-global.txt b/docs/_sources/libs/array/array/swap-global.txt index 774a6c8c..f4d6ed71 100644 --- a/docs/_sources/libs/array/array/swap-global.txt +++ b/docs/_sources/libs/array/array/swap-global.txt @@ -32,8 +32,10 @@ Examples auto x = array{{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}; auto y = array{{10, 9, 8, 7, 6, 5, 4, 3, 2, 1}}; - swap(x, y); - SPROUT_ASSERT_MSG(x[0] = 10 && y[0] == 1, "each element are swapped."); + int main() { + swap(x, y); + SPROUT_ASSERT_MSG(x[0] == 10 && y[0] == 1, "each element are swapped."); + } Complexity ======================================== diff --git a/docs/_sources/libs/array/array/swap.txt b/docs/_sources/libs/array/array/swap.txt index fb7518c8..693426a2 100644 --- a/docs/_sources/libs/array/array/swap.txt +++ b/docs/_sources/libs/array/array/swap.txt @@ -29,8 +29,10 @@ Examples auto x = array{{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}; auto y = array{{10, 9, 8, 7, 6, 5, 4, 3, 2, 1}}; - x.swap(y); - SPROUT_ASSERT_MSG(x[0] == 10 && y[0] == 1, "each element are swapped."); + int main() { + x.swap(y); + SPROUT_ASSERT_MSG(x[0] == 10 && y[0] == 1, "each element are swapped."); + } Complexity ======================================== diff --git a/docs/_sources/libs/string/basic_string/assign-iterator.txt b/docs/_sources/libs/string/basic_string/assign-iterator.txt index 5406b47d..87f8c619 100644 --- a/docs/_sources/libs/string/basic_string/assign-iterator.txt +++ b/docs/_sources/libs/string/basic_string/assign-iterator.txt @@ -40,8 +40,10 @@ Examples auto x = string<8>("homuhomu"); SPROUT_STATIC_CONSTEXPR auto y = string<8>("madocchi"); - x.assign(y.begin(), 8); - SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + int main() { + x.assign(y.begin(), 8); + SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + } ---- diff --git a/docs/_sources/libs/string/basic_string/assign.txt b/docs/_sources/libs/string/basic_string/assign.txt index 7cc59a8a..198f7d2b 100644 --- a/docs/_sources/libs/string/basic_string/assign.txt +++ b/docs/_sources/libs/string/basic_string/assign.txt @@ -30,8 +30,10 @@ Examples auto x = string<8>("homuhomu"); SPROUT_STATIC_CONSTEXPR auto y = string<8>("madocchi"); - x.assign(y); - SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + int main() { + x.assign(y); + SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + } ---- diff --git a/docs/_sources/libs/string/basic_string/clear.txt b/docs/_sources/libs/string/basic_string/clear.txt index c8dea92a..46f131f9 100644 --- a/docs/_sources/libs/string/basic_string/clear.txt +++ b/docs/_sources/libs/string/basic_string/clear.txt @@ -23,8 +23,10 @@ Examples using namespace sprout; auto x = string<8>("homuhomu"); - x.clear(); - SPROUT_ASSERT_MSG(x.size() == 0 && x == "", "string is cleared."); + int main() { + x.clear(); + SPROUT_ASSERT_MSG(x.size() == 0 && x == "", "string is cleared."); + } Header ======================================== diff --git a/docs/_sources/libs/string/basic_string/compare-iterator.txt b/docs/_sources/libs/string/basic_string/compare-iterator.txt new file mode 100644 index 00000000..b6d0267f --- /dev/null +++ b/docs/_sources/libs/string/basic_string/compare-iterator.txt @@ -0,0 +1,66 @@ +.. _sprout-string-basic_string-compare-iterator: +############################################################################### +compare +############################################################################### + +Interface +======================================== +.. sourcecode:: c++ + + template + SPROUT_CONSTEXPR int compare(StringConstIterator s) const; + +Requires +======================================== + +| ``std::is_same::value || std::is_same::value``. + +Returns +======================================== + +| ``compare(basic_string(s))``. + +---- + +Interface +======================================== +.. sourcecode:: c++ + + template + SPROUT_CONSTEXPR int compare(size_type pos1, size_type n1, StringConstIterator s) const; + +Requires +======================================== + +| ``std::is_same::value || std::is_same::value``. + +Returns +======================================== + +| ``basic_string(*this, pos, n1).compare(basic_string(s))``. + +---- + +Interface +======================================== +.. sourcecode:: c++ + + template + SPROUT_CONSTEXPR int compare(size_type pos1, size_type n1, StringConstIterator s, size_type n2) const; + +Requires +======================================== + +| ``std::is_same::value || std::is_same::value``. + +Returns +======================================== + +| ``basic_string(*this, pos, n1).compare(basic_string(s, n2))``. + +Header +======================================== + +| ``sprout/string/string.hpp`` +| Convenience header: ``sprout/string.hpp`` + diff --git a/docs/_sources/libs/string/basic_string/compare.txt b/docs/_sources/libs/string/basic_string/compare.txt new file mode 100644 index 00000000..b7ecfa62 --- /dev/null +++ b/docs/_sources/libs/string/basic_string/compare.txt @@ -0,0 +1,111 @@ +.. _sprout-string-basic_string-compare: +############################################################################### +compare +############################################################################### + +Interface +======================================== +.. sourcecode:: c++ + + template + SPROUT_CONSTEXPR int compare(basic_string const& str) const; + +Effects +======================================== + +| Determines the effective length rlen of the strings to compare as the smallest of ``size()`` and ``str.size()``. +| The function then compares the two strings by calling ``traits_type::compare(data(), str.data(), rlen)``. + +Examples +======================================== +.. sourcecode:: c++ + + #include + using namespace sprout; + + SPROUT_STATIC_CONSTEXPR auto x = string<8>("homuhomu"); + SPROUT_STATIC_CONSTEXPR auto y = string<8>("madocchi"); + SPROUT_STATIC_CONSTEXPR auto result = x.compare(y); + static_assert(result < 0, "x is less than y."); + +Complexity +======================================== + +| Recursive function invocations in *O(logN)* (logarithmic) depth. + +.. note:: + The current implementation is incomplete. *O(N)* (linear) depth. + +---- + +Interface +======================================== +.. sourcecode:: c++ + + template + SPROUT_CONSTEXPR int compare(size_type pos1, size_type n1, basic_string const& str) const; + +Returns +======================================== + +| ``basic_string(*this, pos1, n1).compare(str)``. + +---- + +Interface +======================================== +.. sourcecode:: c++ + + template + SPROUT_CONSTEXPR int compare(size_type pos1, size_type n1, basic_string const& str, size_type pos2, size_type n2) const; + +Returns +======================================== + +| ``basic_string(*this, pos1, n1).compare(basic_string(str, pos2, n2))``. + +---- + +Interface +======================================== +.. sourcecode:: c++ + + SPROUT_CONSTEXPR int compare(value_type const* s) const; + +Returns +======================================== + +| ``compare(basic_string(s))``. + +---- + +Interface +======================================== +.. sourcecode:: c++ + + SPROUT_CONSTEXPR int compare(size_type pos1, size_type n1, value_type const* s) const; + +Returns +======================================== + +| ``basic_string(*this, pos, n1).compare(basic_string(s))``. + +---- + +Interface +======================================== +.. sourcecode:: c++ + + SPROUT_CONSTEXPR int compare(size_type pos1, size_type n1, value_type const* s, size_type n2) const; + +Returns +======================================== + +| ``basic_string(*this, pos, n1).compare(basic_string(s, n2))``. + +Header +======================================== + +| ``sprout/string/string.hpp`` +| Convenience header: ``sprout/string.hpp`` + diff --git a/docs/_sources/libs/string/basic_string/find.txt b/docs/_sources/libs/string/basic_string/find.txt new file mode 100644 index 00000000..d635e9e1 --- /dev/null +++ b/docs/_sources/libs/string/basic_string/find.txt @@ -0,0 +1,94 @@ +.. _sprout-string-basic_string-find: +############################################################################### +find +############################################################################### + +Interface +======================================== +.. sourcecode:: c++ + + template + SPROUT_CONSTEXPR size_type find(basic_string const& str, size_type pos = 0) const SPROUT_NOEXCEPT; + +Effects +======================================== + +| Determines the lowest position xpos, if possible, such that both of the following conditions obtain: + +* ``pos <= xpos and xpos + str.size() <= size();`` +* ``traits_type::eq(at(xpos + I), str.at(I))`` for all elements I of the string controlled by str. + +Returns +======================================== + +| xpos if the function can determine such a value for xpos. Otherwise, returns npos. + +Remarks +======================================== + +| Uses ``traits_type::eq()``. + +Examples +======================================== +.. sourcecode:: c++ + + #include + using namespace sprout; + + SPROUT_STATIC_CONSTEXPR auto input = string<8>("madocchi"); + SPROUT_STATIC_CONSTEXPR auto result = input.find("cchi"); + static_assert(result == 4, "a found position is 4."); + +Complexity +======================================== + +| Recursive function invocations in *O(logN)* (logarithmic) depth. + +.. note:: + The current implementation is incomplete. *O(N)* (linear) depth. + +---- + +Interface +======================================== +.. sourcecode:: c++ + + SPROUT_CONSTEXPR size_type find(value_type const* s, size_type pos, size_type n) const; + +Returns +======================================== + +| + +---- + +Interface +======================================== +.. sourcecode:: c++ + + SPROUT_CONSTEXPR size_type find(value_type const* s, size_type pos = 0) const; + +Returns +======================================== + +| + +---- + +Interface +======================================== +.. sourcecode:: c++ + + SPROUT_CONSTEXPR size_type find(value_type c, size_type pos = 0) const; + +Returns +======================================== + +| + +Header +======================================== + +| ``sprout/string/string.hpp`` +| Convenience header: ``sprout/string.hpp`` + diff --git a/docs/_sources/libs/string/basic_string/operator-assign-iterator.txt b/docs/_sources/libs/string/basic_string/operator-assign-iterator.txt index dc4049ba..f770b243 100644 --- a/docs/_sources/libs/string/basic_string/operator-assign-iterator.txt +++ b/docs/_sources/libs/string/basic_string/operator-assign-iterator.txt @@ -35,8 +35,10 @@ Examples auto x = string<8>("homuhomu"); SPROUT_STATIC_CONSTEXPR auto y = string<8>("madocchi"); - x = y.begin(); - SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + int main() { + x = y.begin(); + SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + } Header ======================================== diff --git a/docs/_sources/libs/string/basic_string/operator-assign.txt b/docs/_sources/libs/string/basic_string/operator-assign.txt index 43d1e505..f70364f4 100644 --- a/docs/_sources/libs/string/basic_string/operator-assign.txt +++ b/docs/_sources/libs/string/basic_string/operator-assign.txt @@ -34,8 +34,10 @@ Examples auto x = string<8>("homuhomu"); SPROUT_STATIC_CONSTEXPR auto y = string<8>("madocchi"); - x = y; - SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + int main() { + x = y; + SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + } ---- diff --git a/docs/_sources/libs/string/basic_string/resize.txt b/docs/_sources/libs/string/basic_string/resize.txt index b7530ce7..11b8cf6f 100644 --- a/docs/_sources/libs/string/basic_string/resize.txt +++ b/docs/_sources/libs/string/basic_string/resize.txt @@ -39,8 +39,10 @@ Examples using namespace sprout; auto x = string<8>("homuhomu"); - x.resize(4); - SPROUT_ASSERT_MSG(x.size() == 4 && x == "homu", "string is resized to 4."); + int main() { + x.resize(4); + SPROUT_ASSERT_MSG(x.size() == 4 && x == "homu", "string is resized to 4."); + } Header ======================================== diff --git a/docs/_sources/libs/string/basic_string/std-tuple_size.txt b/docs/_sources/libs/string/basic_string/std-tuple_size.txt index 8fb06baf..371c5ee8 100644 --- a/docs/_sources/libs/string/basic_string/std-tuple_size.txt +++ b/docs/_sources/libs/string/basic_string/std-tuple_size.txt @@ -33,8 +33,8 @@ Examples using namespace sprout; using type = string<8>; - SPROUT_STATIC_CONSTEXPR auto size = std::tuple_size::value; - static_assert(size == 8, "tuple size of string is 8."); + SPROUT_STATIC_CONSTEXPR auto n = std::tuple_size::value; + static_assert(n == 8, "tuple size of string is 8."); Header ======================================== diff --git a/docs/_sources/libs/string/basic_string/swap-global.txt b/docs/_sources/libs/string/basic_string/swap-global.txt index 16bb94b6..628dd868 100644 --- a/docs/_sources/libs/string/basic_string/swap-global.txt +++ b/docs/_sources/libs/string/basic_string/swap-global.txt @@ -32,8 +32,10 @@ Examples auto x = string<8>("homuhomu"); auto y = string<8>("madocchi"); - swap(x, y); - SPROUT_ASSERT_MSG(x == "madocchi" && y == "homuhomu", "each element are swapped."); + int main() { + swap(x, y); + SPROUT_ASSERT_MSG(x == "madocchi" && y == "homuhomu", "each element are swapped."); + } Complexity ======================================== diff --git a/docs/_sources/libs/string/basic_string/swap.txt b/docs/_sources/libs/string/basic_string/swap.txt index a95ddac1..2aefb188 100644 --- a/docs/_sources/libs/string/basic_string/swap.txt +++ b/docs/_sources/libs/string/basic_string/swap.txt @@ -29,8 +29,10 @@ Examples auto x = string<8>("homuhomu"); auto y = string<8>("madocchi"); - swap(x, y); - SPROUT_ASSERT_MSG(x == "madocchi" && y == "homuhomu", "each element are swapped."); + int main() { + swap(x, y); + SPROUT_ASSERT_MSG(x == "madocchi" && y == "homuhomu", "each element are swapped."); + } Complexity ======================================== diff --git a/docs/_sources/libs/string/char_traits/assign-iterator.txt b/docs/_sources/libs/string/char_traits/assign-iterator.txt index 0d09e506..c2e0f9e1 100644 --- a/docs/_sources/libs/string/char_traits/assign-iterator.txt +++ b/docs/_sources/libs/string/char_traits/assign-iterator.txt @@ -24,8 +24,10 @@ Examples using namespace sprout; auto x = string<8>("homuhomu");; - char_traits::assign(x.begin(), 8, 'M'); - SPROUT_ASSERT_MSG(x[0] == 'M', "x is filled by M."); + int main() { + char_traits::assign(x.begin(), 8, 'M'); + SPROUT_ASSERT_MSG(x[0] == 'M', "x is filled by M."); + } Complexity ======================================== diff --git a/docs/_sources/libs/string/char_traits/assign-string.txt b/docs/_sources/libs/string/char_traits/assign-string.txt index ed0cec18..ca84a5f5 100644 --- a/docs/_sources/libs/string/char_traits/assign-string.txt +++ b/docs/_sources/libs/string/char_traits/assign-string.txt @@ -23,8 +23,10 @@ Examples using namespace sprout; char x[] = "homuhomu"; - char_traits::assign(x, 8, 'M'); - SPROUT_ASSERT_MSG(x[0] == 'M', "x is filled by M."); + int main() { + char_traits::assign(x, 8, 'M'); + SPROUT_ASSERT_MSG(x[0] == 'M', "x is filled by M."); + } Complexity ======================================== diff --git a/docs/_sources/libs/string/char_traits/assign.txt b/docs/_sources/libs/string/char_traits/assign.txt index e5e33ee2..338c0969 100644 --- a/docs/_sources/libs/string/char_traits/assign.txt +++ b/docs/_sources/libs/string/char_traits/assign.txt @@ -24,8 +24,10 @@ Examples char x = 'H'; SPROUT_STATIC_CONSTEXPR char y = 'M'; - char_traits::assign(x, y); - SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + int main() { + char_traits::assign(x, y); + SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + } Complexity ======================================== diff --git a/docs/_sources/libs/string/char_traits/copy-iterator.txt b/docs/_sources/libs/string/char_traits/copy-iterator.txt index 05255790..f153619a 100644 --- a/docs/_sources/libs/string/char_traits/copy-iterator.txt +++ b/docs/_sources/libs/string/char_traits/copy-iterator.txt @@ -30,8 +30,10 @@ Examples auto x = string<8>("homuhomu");; SPROUT_STATIC_CONSTEXPR auto y = string<8>("madocchi"); - char_traits::copy(x.begin(), y.begin(), 8); - SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); + int main() { + char_traits::copy(x.begin(), y.begin(), 8); + SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); + } Complexity ======================================== diff --git a/docs/_sources/libs/string/char_traits/copy.txt b/docs/_sources/libs/string/char_traits/copy.txt index 801a4342..9b28545d 100644 --- a/docs/_sources/libs/string/char_traits/copy.txt +++ b/docs/_sources/libs/string/char_traits/copy.txt @@ -29,8 +29,10 @@ Examples char x[] = "homuhomu"; SPROUT_STATIC_CONSTEXPR char const* y = "madocchi"; - char_traits::copy(x, y, 8); - SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); + int main() { + char_traits::copy(x, y, 8); + SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); + } Complexity ======================================== diff --git a/docs/_sources/libs/string/char_traits/move-iterator.txt b/docs/_sources/libs/string/char_traits/move-iterator.txt index 1f9c0545..c5b8f701 100644 --- a/docs/_sources/libs/string/char_traits/move-iterator.txt +++ b/docs/_sources/libs/string/char_traits/move-iterator.txt @@ -26,8 +26,10 @@ Examples auto x = string<8>("homuhomu");; SPROUT_STATIC_CONSTEXPR auto y = string<8>("madocchi"); - char_traits::move(x.begin(), y.begin(), 8); - SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); + int main() { + char_traits::move(x.begin(), y.begin(), 8); + SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); + } Complexity ======================================== diff --git a/docs/_sources/libs/string/char_traits/move.txt b/docs/_sources/libs/string/char_traits/move.txt index 80a0fc7e..f56c95bf 100644 --- a/docs/_sources/libs/string/char_traits/move.txt +++ b/docs/_sources/libs/string/char_traits/move.txt @@ -24,8 +24,10 @@ Examples char x[] = "homuhomu"; SPROUT_STATIC_CONSTEXPR char const* y = "madocchi"; - char_traits::move(x, y, 8); - SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); + int main() { + char_traits::move(x, y, 8); + SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); + } Complexity ======================================== diff --git a/docs/libs/array/array/assign.html b/docs/libs/array/array/assign.html index 5860059a..9846321d 100644 --- a/docs/libs/array/array/assign.html +++ b/docs/libs/array/array/assign.html @@ -136,8 +136,10 @@ using namespace sprout; auto x = array<int, 10>{{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}; -x.assign(0); -SPROUT_ASSERT_MSG(x[0] == 0, "filled with 0."); +int main() { + x.assign(0); + SPROUT_ASSERT_MSG(x[0] == 0, "filled with 0."); +}
#include <sprout/array.hpp>
diff --git a/docs/libs/array/array/fill.html b/docs/libs/array/array/fill.html
index f7028983..c6a2cd50 100644
--- a/docs/libs/array/array/fill.html
+++ b/docs/libs/array/array/fill.html
@@ -136,8 +136,10 @@
 using namespace sprout;
 
 auto x = array<int, 10>{{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}};
-x.fill(0);
-SPROUT_ASSERT_MSG(x[0] == 0, "filled with 0.");
+int main() {
+  x.fill(0);
+  SPROUT_ASSERT_MSG(x[0] == 0, "filled with 0.");
+}
 
#include <sprout/array.hpp>
diff --git a/docs/libs/array/array/operator-assign.html b/docs/libs/array/array/operator-assign.html
index f7246041..d01ac997 100644
--- a/docs/libs/array/array/operator-assign.html
+++ b/docs/libs/array/array/operator-assign.html
@@ -140,8 +140,10 @@
 
 auto x = array<int, 10>{{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}};
 SPROUT_STATIC_CONSTEXPR auto y = array<int, 10>{{10, 9, 8, 7, 6, 5, 4, 3, 2, 1}};
-x = y;
-SPROUT_ASSERT_MSG(x == y, "y is assigned to x.");
+int main() {
+  x = y;
+  SPROUT_ASSERT_MSG(x == y, "y is assigned to x.");
+}
 
diff --git a/docs/libs/array/array/std-tuple_size.html b/docs/libs/array/array/std-tuple_size.html index 839fa9ec..0edfcabf 100644 --- a/docs/libs/array/array/std-tuple_size.html +++ b/docs/libs/array/array/std-tuple_size.html @@ -137,8 +137,8 @@ using namespace sprout; using type = array<int, 10>; -SPROUT_STATIC_CONSTEXPR auto size = std::tuple_size<type>::value; -static_assert(size == 10, "tuple size of array is 10."); +SPROUT_STATIC_CONSTEXPR auto n = std::tuple_size<type>::value; +static_assert(n == 10, "tuple size of array is 10."); diff --git a/docs/libs/array/array/swap-global.html b/docs/libs/array/array/swap-global.html index 6a7952a0..efe995e4 100644 --- a/docs/libs/array/array/swap-global.html +++ b/docs/libs/array/array/swap-global.html @@ -137,8 +137,10 @@ auto x = array<int, 10>{{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}; auto y = array<int, 10>{{10, 9, 8, 7, 6, 5, 4, 3, 2, 1}}; -swap(x, y); -SPROUT_ASSERT_MSG(x[0] = 10 && y[0] == 1, "each element are swapped."); +int main() { + swap(x, y); + SPROUT_ASSERT_MSG(x[0] == 10 && y[0] == 1, "each element are swapped."); +} diff --git a/docs/libs/array/array/swap.html b/docs/libs/array/array/swap.html index 6dc36e1c..b136cccb 100644 --- a/docs/libs/array/array/swap.html +++ b/docs/libs/array/array/swap.html @@ -135,8 +135,10 @@ auto x = array<int, 10>{{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}; auto y = array<int, 10>{{10, 9, 8, 7, 6, 5, 4, 3, 2, 1}}; -x.swap(y); -SPROUT_ASSERT_MSG(x[0] == 10 && y[0] == 1, "each element are swapped."); +int main() { + x.swap(y); + SPROUT_ASSERT_MSG(x[0] == 10 && y[0] == 1, "each element are swapped."); +} diff --git a/docs/libs/string/basic_string/assign-iterator.html b/docs/libs/string/basic_string/assign-iterator.html index 16c15567..a7a43026 100644 --- a/docs/libs/string/basic_string/assign-iterator.html +++ b/docs/libs/string/basic_string/assign-iterator.html @@ -38,7 +38,7 @@ - + @@ -49,7 +49,7 @@ index
  • - next |
  • operator=

    Next topic

    -

    string

    +

    compare

    This Page

    Previous topic

    -

    back

    +

    find

    Next topic

    -

    operator std::basic_string

    +

    compare

    This Page

    • index
    • - next |
    • - previous |
    • Sprout 1.0 documentation »
    • Libraries »
    • diff --git a/docs/libs/string/basic_string/swap-global.html b/docs/libs/string/basic_string/swap-global.html index 84b26bf6..2a5c263b 100644 --- a/docs/libs/string/basic_string/swap-global.html +++ b/docs/libs/string/basic_string/swap-global.html @@ -137,8 +137,10 @@ auto x = string<8>("homuhomu"); auto y = string<8>("madocchi"); -swap(x, y); -SPROUT_ASSERT_MSG(x == "madocchi" && y == "homuhomu", "each element are swapped."); +int main() { + swap(x, y); + SPROUT_ASSERT_MSG(x == "madocchi" && y == "homuhomu", "each element are swapped."); +} diff --git a/docs/libs/string/basic_string/swap.html b/docs/libs/string/basic_string/swap.html index 2f1ad9af..bb29d8a4 100644 --- a/docs/libs/string/basic_string/swap.html +++ b/docs/libs/string/basic_string/swap.html @@ -135,8 +135,10 @@ auto x = string<8>("homuhomu"); auto y = string<8>("madocchi"); -swap(x, y); -SPROUT_ASSERT_MSG(x == "madocchi" && y == "homuhomu", "each element are swapped."); +int main() { + swap(x, y); + SPROUT_ASSERT_MSG(x == "madocchi" && y == "homuhomu", "each element are swapped."); +} diff --git a/docs/libs/string/char_traits/assign-iterator.html b/docs/libs/string/char_traits/assign-iterator.html index 9d7c58c6..a4d8093e 100644 --- a/docs/libs/string/char_traits/assign-iterator.html +++ b/docs/libs/string/char_traits/assign-iterator.html @@ -128,8 +128,10 @@ using namespace sprout; auto x = string<8>("homuhomu");; -char_traits<char>::assign(x.begin(), 8, 'M'); -SPROUT_ASSERT_MSG(x[0] == 'M', "x is filled by M."); +int main() { + char_traits<char>::assign(x.begin(), 8, 'M'); + SPROUT_ASSERT_MSG(x[0] == 'M', "x is filled by M."); +} diff --git a/docs/libs/string/char_traits/assign-string.html b/docs/libs/string/char_traits/assign-string.html index f37fa70b..3c4784bc 100644 --- a/docs/libs/string/char_traits/assign-string.html +++ b/docs/libs/string/char_traits/assign-string.html @@ -127,8 +127,10 @@ using namespace sprout; char x[] = "homuhomu"; -char_traits<char>::assign(x, 8, 'M'); -SPROUT_ASSERT_MSG(x[0] == 'M', "x is filled by M."); +int main() { + char_traits<char>::assign(x, 8, 'M'); + SPROUT_ASSERT_MSG(x[0] == 'M', "x is filled by M."); +} diff --git a/docs/libs/string/char_traits/assign.html b/docs/libs/string/char_traits/assign.html index 871d80a6..a7287bef 100644 --- a/docs/libs/string/char_traits/assign.html +++ b/docs/libs/string/char_traits/assign.html @@ -128,8 +128,10 @@ char x = 'H'; SPROUT_STATIC_CONSTEXPR char y = 'M'; -char_traits<char>::assign(x, y); -SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); +int main() { + char_traits<char>::assign(x, y); + SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); +} diff --git a/docs/libs/string/char_traits/copy-iterator.html b/docs/libs/string/char_traits/copy-iterator.html index 510f0c12..2ff9ebee 100644 --- a/docs/libs/string/char_traits/copy-iterator.html +++ b/docs/libs/string/char_traits/copy-iterator.html @@ -136,8 +136,10 @@ auto x = string<8>("homuhomu");; SPROUT_STATIC_CONSTEXPR auto y = string<8>("madocchi"); -char_traits<char>::copy(x.begin(), y.begin(), 8); -SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); +int main() { + char_traits<char>::copy(x.begin(), y.begin(), 8); + SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); +} diff --git a/docs/libs/string/char_traits/copy.html b/docs/libs/string/char_traits/copy.html index d16a381b..1aaac7a0 100644 --- a/docs/libs/string/char_traits/copy.html +++ b/docs/libs/string/char_traits/copy.html @@ -135,8 +135,10 @@ char x[] = "homuhomu"; SPROUT_STATIC_CONSTEXPR char const* y = "madocchi"; -char_traits<char>::copy(x, y, 8); -SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); +int main() { + char_traits<char>::copy(x, y, 8); + SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); +} diff --git a/docs/libs/string/char_traits/move-iterator.html b/docs/libs/string/char_traits/move-iterator.html index d3ab649a..5556155d 100644 --- a/docs/libs/string/char_traits/move-iterator.html +++ b/docs/libs/string/char_traits/move-iterator.html @@ -130,8 +130,10 @@ auto x = string<8>("homuhomu");; SPROUT_STATIC_CONSTEXPR auto y = string<8>("madocchi"); -char_traits<char>::move(x.begin(), y.begin(), 8); -SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); +int main() { + char_traits<char>::move(x.begin(), y.begin(), 8); + SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); +} diff --git a/docs/libs/string/char_traits/move.html b/docs/libs/string/char_traits/move.html index a39dd6eb..31216872 100644 --- a/docs/libs/string/char_traits/move.html +++ b/docs/libs/string/char_traits/move.html @@ -128,8 +128,10 @@ char x[] = "homuhomu"; SPROUT_STATIC_CONSTEXPR char const* y = "madocchi"; -char_traits<char>::move(x, y, 8); -SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); +int main() { + char_traits<char>::move(x, y, 8); + SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); +} diff --git a/docs/libs/string/string.html b/docs/libs/string/string.html index 9fc09e61..eea5a970 100644 --- a/docs/libs/string/string.html +++ b/docs/libs/string/string.html @@ -39,7 +39,7 @@ - +

    Previous topic

    -

    assign

    +

    compare

    Next topic

    wstring

    @@ -148,7 +148,7 @@ next |
  • - previous |
  • Sprout 1.0 documentation »
  • Libraries »
  • diff --git a/docs/searchindex.js b/docs/searchindex.js index 1f65d1cf..3a510e53 100644 --- a/docs/searchindex.js +++ b/docs/searchindex.js @@ -1 +1 @@ -Search.setIndex({objects:{},terms:{all:[133,122,61,50,33,64,84,24,116,107,88,46],math_funct:94,definit:[23,24,128,116,107],prefix:[93,57],follow:[28,110,12,3,92,129,5,98,22,44,71,139,61,124,57,148,119,59,146],find_if:[57,3,27],value_typ:[133,123,61,116,32,127,7,21,24,147,100,131],whose:[133,21,61,32,136],"const":[0,1,2,4,5,8,9,51,12,15,17,18,121,22,24,25,26,29,30,31,33,35,60,39,42,43,46,47,49,144,53,54,55,56,57,62,63,70,66,67,68,73,75,76,77,21,80,81,82,83,84,85,87,89,95,96,97,98,100,101,102,103,105,106,107,108,109,111,104,116,118,119,120,122,126,69,132,133,134,135,140,141,142,143,99,148,149,150],tuple_el:[14,115,19,86],bind2nd:[3,50,44,79,57,10,130,139],compost:94,to_string_of:115,swap:[115,20,40,113,78,24,116,86],under:48,iterator_trait:[148,44],is_strictly_decreas:[34,27],sprout_no_cxx14_initializer_list:[70,53,67],everi:[122,130,82,124,50],count_if:[44,27],fals:[0,39,16,93,79,10,82,118,47,49,144,99,130,132,17,95,97,63,122,25,26,103,31,50,124],is_sorted_until:[27,11,13],result2:57,result1:57,util:94,facebook:48,element_typ:[14,19],syntax:[14,72,6,19,136],min_el:[28,27],one_of_equ:[132,27],list:[16,110,94,136,67,124],to_u16str:115,iter:[1,3,75,76,41,110,8,44,79,116,10,119,51,46,121,122,12,49,50,11,85,69,146,56,71,130,59,132,89,16,77,92,94,62,129,141,98,22,65,66,139,28,82,105,24,36,60,106,107,148,149,124],initializer_list:[133,116,70,53,67],upper:[22,84],impli:[46,84],find_end:[129,27],zero:[57,104,120,109],design:[133,61],aggreg:136,odd:44,linear:[74,2,137,121,20,40,109,15,52,69,138,78,54,65,150,102,45,11,113,135],compat:94,index:[104,120],compar:[28,22,12,125,65,13,109,5,41,53,93,84,70,67,116,57,107,102,11,46,59],neg:[109,98],brief:48,access:[16,24,116,124],inputiterator1:[93,57,110,92,124],inputiterator2:[93,57,110,124],version:[57,48,126,69,96],boost:48,hash:[115,54,128,23,86,150],gener:[115,94,54,128,23,86,150],satisfi:46,path:48,becom:81,modifi:[24,116,27],valu:[6,16,5,127,148,119,82,46,92,133,123,12,49,84,14,53,128,54,146,129,57,71,131,132,122,19,96,98,22,23,70,7,67,126,145,24,36,37,72,109,150],search:[71,46,27],convers:[87,115,116],checksum:94,larger:[41,70],none_of_equ:[82,27],is_heap_until:[65,125,27],implement:[67,116,24,53,70],traits_typ:[133,21,116,32],control:[21,32],find_last_not_of:116,substr:[134,116],instal:48,txt:48,make_arrai:[64,88,86],pos_typ:107,range_numer:94,from:[133,150,3,92,54,129,33,98,128,145,23,44,71,37,87,148,119,139,146],would:16,pred:[16,110,3,92,50,129,98,44,71,124,79,10,130,139,146],two:[93,57,5],websit:48,program:[14,104,120,19],call:[21,32,104,113,78,54,120,150],type:[6,5,136,127,116,133,123,14,53,128,54,88,131,19,94,98,64,23,70,100,72,7,67,145,24,37,107,150],until:[65,11],sort:[27,11,13],cwchar:94,rlen:[133,21,134],mismatch:[110,27],int_to_str:115,hold:[28,110,12,3,92,129,5,98,22,44,71,139,124,148,119,59,146],logarithm:[0,110,39,90,112,41,114,69,93,44,79,3,10,119,11,46,121,47,12,125,49,98,13,82,15,53,54,16,146,139,57,130,59,132,133,92,95,129,97,137,50,118,63,22,99,70,122,25,26,102,67,28,31,34,144,84,65,71,148,109,150,124],high:5,none:[130,82],enable_if:[133,116,100],alia:[123,127,131,7],remain:61,can:[48,81,136],those:[21,32],meet:[133,23,124,128,16],input2:[16,110,92,129,93,71,57,124],off_typ:107,input1:[16,110,3,92,129,98,93,71,57,119,139,124],give:[48,5],templat:[0,3,5,7,93,10,11,12,13,14,19,20,22,23,24,25,26,28,31,32,33,34,144,36,39,40,41,44,45,46,47,49,133,52,53,54,57,59,63,64,65,67,70,71,72,6,21,79,148,81,82,84,69,88,90,92,94,95,129,97,98,100,101,107,109,87,110,112,114,104,116,118,119,120,122,123,125,99,127,128,130,131,132,16,137,138,139,50,146,150,124],hash_rang:[23,150,128,54],minimum:27,stoll:115,stold:115,string:[73,1,2,39,4,74,7,78,115,116,117,45,83,133,123,81,137,140,144,147,15,52,127,131,76,54,55,87,58,121,37,17,61,91,19,94,62,85,134,21,63,149,23,135,100,107,26,102,40,138,141,29,30,31,69,32,104,143,35,99,105,145,36,60,72,108,109,38,151],alwai:[1,75,62,77,105,106,149,51],gcc:48,end:[110,3,76,112,41,114,93,44,79,116,10,119,11,46,133,12,125,49,13,82,16,146,57,130,59,132,90,113,92,122,129,147,98,22,65,101,139,28,34,50,84,24,71,89,148,124],find_if_not:[139,27],constinputiterator1:[107,109],constinputiterator2:[107,109],basic_str:[39,40,7,21,104,116,26,81,133,123,144,127,54,87,131,134,19,63,23,100,115,78,31,32,99,36,72],"void":[61,126,20,40,96,113,78,24,147,116,107,140],npo:[133,21,134,116],make_common_arrai:[88,86],max:[28,30,18,41,70,67,59,27],after:[141,75,76,62,56,149,51,89],variant:94,mai:5,const_iter:[116,76,105,8,24,36,60,106,149,51,89],stol:115,alloc:[87,116],github:48,inttyp:115,japanes:48,explicit:[133,116],correspond:[110,3,5,41,93,44,148,119,46,12,67,57,59,16,92,129,98,22,139,28,146,71,124],element:[64,1,113,3,75,8,4,77,41,42,7,29,104,44,89,9,80,119,51,46,83,133,123,12,111,84,14,120,85,40,127,131,76,55,56,57,93,88,59,16,61,18,19,20,62,141,21,22,24,116,136,66,92,43,139,28,78,30,68,32,33,142,35,105,143,149,146,60,106,148,108,73],caus:[108,68],alias:115,callabl:[54,120,150,104],worst:16,tuple_s:[72,6,115,86],string_from_c_str:115,ith:[104,120],sprout:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151],move:[52,104,135,101,107,120],becaus:[54,120,150,104],increas:[112,114],through:48,binarypred:[16,110,92,129,98,146,71,124],pointer:[73,9,69,142,24,55,116],equiv:57,member:[115,128,23,24,116,86,107],tristate_lexicographical_compar:[57,27],uuid:94,fix:94,decai:88,mail:48,alter:61,non:[115,98,93,86,57,27],"return":[0,1,3,4,5,8,9,10,11,12,13,15,17,18,121,22,25,26,28,21,30,31,32,33,34,35,36,37,38,39,41,42,43,44,46,47,49,50,51,53,54,55,56,57,58,59,60,62,63,64,70,66,67,68,65,71,72,73,6,75,76,77,29,79,80,81,82,83,84,85,87,88,89,90,91,92,93,95,96,97,98,99,100,101,102,103,105,106,108,109,110,111,112,114,104,117,118,119,120,122,125,126,69,129,130,132,16,134,124,137,139,141,142,143,144,145,146,148,149,150,151],greater:[90,31,95,63,79,25,57,3,10,130],nonneg:[129,71],auto:[0,1,3,4,5,8,9,10,11,12,13,15,16,17,18,121,20,21,22,23,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,49,50,51,52,53,54,55,56,57,59,60,61,62,63,64,70,66,67,68,65,71,72,73,6,75,76,77,78,79,80,81,82,83,84,85,87,88,89,90,91,92,93,95,96,97,98,99,100,101,102,103,105,106,108,109,110,111,112,113,114,104,117,118,119,120,122,124,125,126,69,128,129,130,132,133,134,136,137,138,139,141,142,143,144,145,146,147,148,149,150,151],initi:[133,61,64,24,136,88,67],bound:[12,68,19,84,14,43,22,104,143,108,120],front:[80,24,116,4],oper:[0,39,101,115,116,26,118,81,47,144,128,86,87,94,95,97,63,23,24,100,25,68,27,31,99,36,107,108],from_str:115,lexicographical_compar:[93,27],revers:[141,1,75,62,85,77,56,66],separ:136,mode:48,each:[48,113,20,40,52,78,146,45,109,138],found:[110,3,92,129,98,69,146,71,119,46,139,121],compil:[48,94],adjacent_find:[146,27],domain:94,replac:[21,61,32],individu:48,"static":[117,74,2,91,121,145,137,15,52,38,69,138,140,135,37,107,102,45,109,58,151],madocchi:[21,39,2,31,32,144,109,52,63,78,135,36,100,26,102,45,40],logn:[0,110,39,90,112,41,114,69,93,44,79,3,10,119,11,46,121,47,12,125,49,98,13,82,15,53,54,16,146,139,57,130,59,132,133,92,95,129,97,137,50,118,63,22,99,70,122,25,26,102,67,28,31,34,144,84,65,71,148,109,150,124],special:[115,86],out:[68,19,14,43,104,143,108,120],all_of_equ:[122,84,27],categori:94,typenam:[0,3,5,93,10,11,12,13,14,19,20,22,23,24,25,26,28,31,32,33,34,144,36,39,40,41,44,45,46,47,49,133,52,53,54,57,59,63,64,65,67,70,71,72,6,21,79,148,81,82,84,87,88,90,92,95,129,97,98,100,101,107,109,110,112,114,104,116,118,119,120,122,125,99,69,128,130,132,16,137,138,139,50,146,150,124],inputiter:[133,122,130,3,49,50,21,44,79,116,10,119,82,148,139,132],integr:[133,72,6,98],log2:[22,12,46,84],forwarditerator2:[129,71,92,16],forwarditerator1:[129,71,16],standard:94,base:[48,120,104],org:48,upper_bound:[22,84,27],length:[133,61,137,32,94,15,21,147,116,107,81,83],string_to_float:115,one_of:[79,27],homuhomu:[73,1,2,39,4,74,78,104,45,83,133,137,144,15,52,69,76,54,55,87,147,61,134,121,62,21,63,149,23,135,100,26,102,40,138,141,29,30,31,32,143,35,99,105,36,60,108,109,85],assign:[74,116,32,126,52,21,24,36,100,101,107,45,138,140],first:[73,1,3,116,4,112,41,110,8,44,79,9,10,119,11,46,133,12,125,49,13,139,82,85,53,77,146,55,57,130,59,132,90,61,92,122,80,98,21,114,22,70,66,67,28,93,142,34,50,105,84,65,71,60,106,148],origin:[61,37,145],softwar:48,rang:[110,3,16,41,93,44,79,148,119,82,10,133,12,49,50,11,52,46,57,130,59,132,122,92,129,98,22,65,139,28,84,146,71,124],declval:[78,24,113,116],arrai:[0,3,5,8,9,10,11,12,13,14,16,17,18,20,22,24,25,28,93,32,33,34,36,40,41,42,43,44,46,47,49,50,51,53,56,57,59,64,65,66,67,68,70,71,6,75,77,21,79,80,82,84,86,88,89,90,92,94,95,129,97,98,100,101,103,106,110,111,112,113,114,118,119,120,122,125,126,128,96,130,132,133,136,139,142,146,148,150,124],number:[48,30,18,5,42,93,44,57,148,81,35,83],cinttyp:94,smaller:[133,134,41,53,21,67],least:[133,21,32],max_el:[59,27],sprout_assert_masg:[87,134],lexicograph:[0,31,144,95,97,63,93,25,57,39,27],size:[6,42,21,116,134,83,133,53,88,17,61,18,94,98,64,70,67,103,30,35,24,147,72],given:[16,110,124],rightmost:67,data:[73,134,116,94,142,21,24,55,9],licens:48,cstring:94,capac:[24,116],construct:[133,24,116],conveni:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,88,89,90,91,92,93,95,96,97,98,99,100,101,102,103,105,106,107,108,109,110,111,112,113,114,104,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151],store:[81,94],to_hash:[54,150],darkroom:94,namespac:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,25,26,28,29,30,31,32,34,35,36,37,38,39,40,41,42,43,44,45,46,47,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,70,66,67,68,69,65,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,89,90,91,92,93,95,96,97,98,99,100,101,102,103,105,106,108,109,110,111,112,113,114,104,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151],copi:[48,2,135,116,32,33,52,53,21,70,24,61,101,107,45,67],specifi:[68,143,53,43,64,70,108,67],pars:[48,94],c_arrai:[142,24,55,116],first1:[16,110,92,129,93,71,57,124],first2:[16,110,92,129,93,71,57,124],exactli:[28,16,5,44,59,148,67,146],state_typ:107,than:[0,39,93,79,3,10,144,67,57,130,95,97,98,63,25,102,139,31,38,50,71,109],std:[0,74,2,39,40,101,6,7,78,115,44,116,117,148,45,113,118,135,121,47,123,81,137,140,144,14,120,15,52,127,128,138,54,99,86,87,58,131,133,61,91,19,20,95,96,97,134,63,23,24,100,25,26,102,43,53,67,107,21,31,69,32,33,143,38,126,145,104,70,36,37,72,109,150,151],to_int_typ:[107,37,145],sprout_explicit_convers:[87,116],second:[110,41,67,84],structur:94,charact:[78,107,115],project:48,postcondit:78,wchar_t:123,str:[133,21,116],posit:[110,3,75,76,41,43,104,119,51,121,12,84,11,69,56,89,141,92,62,129,98,22,65,120,139,28,149,68,143,146,71,59,108,109],to_wstr:115,pre:[2,45],difference_typ:[148,24,44,116],argument:[16,110,81,53,64,70,88,67,124],int_typ:[91,145,37,107,58,151],rai:[48,94],have:[93,57],need:64,predic:[110,3,41,44,79,10,119,82,148,122,49,50,67,130,132,16,92,129,98,139,146,71,124],constexprrandomaccessiter:[133,24,116],option:94,built:33,equival:[74,2,21,104,117,118,120,47,140,99,15,53,128,54,57,58,133,61,91,121,23,70,100,26,102,67,93,38,145,135,36,37,150,151],min:[28,133,110,41,53,93,146,67,57,124,59,27],greater_equ:34,destroi:[24,116],ptrdiff_t:[24,116],note:[104,54,24,116,120,150],also:[46,84],without:[96,126],which:[48,110,3,65,44,148,119,11,139,146],equal_rang:[84,27],const_refer:[68,126,4,143,96,111,43,29,24,116,80,108],sprout_noexcept:[117,73,1,75,76,77,42,8,104,9,91,51,83,120,85,55,56,58,89,60,17,18,62,141,142,24,116,66,103,30,35,147,105,145,37,106,107,149,38,151],even:52,begin:[110,3,126,16,112,41,114,8,44,79,116,10,45,11,46,133,12,125,49,13,82,52,69,146,129,57,71,130,59,132,90,113,119,92,122,96,147,98,22,24,101,137,138,139,28,93,32,34,50,84,65,36,60,148,109,124],unless:[78,113,20,40],distribut:48,trace:[48,94],shall:[22,12,98,67,84],buffer:[81,94],object:[133,64,94,88,33],size_typ:[133,30,18,116,32,143,35,134,42,43,21,24,61,68,108,83],pair:[110,84,41,93,57,67],crbegin:[77,1,24,116],madohomu:81,"class":[133,115,94,128,23,24,116,86],slideshar:48,clear:[147,116],determin:[133,21],accompani:48,binary_search:[46,27],random:[48,16,124,94],rbegin:[66,85,24,116],all_of:[50,27],find:[92,129,98,69,71,116,107,119,121,27],onli:[48,24,79,132],explicitli:64,copyright:48,find_first_not_of:116,swap_rang:113,get:[104,120],lower_bound:[84,12,27],make_str:115,express:[6,12,121,84,15,22,72,102,46],clang:48,range_adaptor:94,stoi:115,stod:115,none_of:[130,27],stof:115,is_sort:[90,13,112,114,34,27],requir:[5,21,104,120,46,133,12,84,14,53,128,16,61,134,19,98,22,23,70,67,32,36,124],enabl:[133,116,100],synthes:[48,94],yield:[93,57],common:88,partit:[22,12,46,84],contain:[73,110,3,16,112,41,42,78,44,79,9,10,119,11,46,83,47,48,12,125,49,13,82,55,57,130,59,132,90,18,92,94,122,129,98,118,114,22,99,65,26,139,28,93,30,142,34,35,50,84,146,71,148,124],comma:136,char32_t:127,where:[133,16,41,134,52,104,146,136,120,67],valid:[54,120,150,104],wiki:48,arr:[133,116,33],set:[92,147],cstdio:58,minmax:[67,27],see:48,result:[110,3,16,112,5,41,114,69,93,44,79,117,10,81,11,46,121,122,12,125,49,13,82,15,53,146,139,57,119,130,59,132,90,91,92,129,98,22,70,137,102,67,28,34,38,50,145,84,65,71,37,148,124,109,151],arg:[64,88],hash_valu:[54,115,150,86],any_of_equ:[49,27],modulu:44,correctli:52,eq_int_typ:[107,91,37,145],less_equ:112,smallest:[137,53,67,69],char16_t:7,neither:[93,57],paramet:[64,61],numer:[115,94],comp:[28,22,12,125,65,13,5,41,53,93,84,70,67,57,11,46,59],crend:[62,24,75,116],typedef:[107,24,116],cbegin:[116,24,105,106,149],constexpr:[48,70,53,67],type_trait:[123,19,94,14,127,7,131],bitset:94,randomaccessiter:[65,125],struct:[6,19,14,128,23,72,107],both:146,metaprogram:94,last:[3,75,76,112,41,114,29,44,79,116,10,119,11,46,133,12,125,49,13,51,111,56,130,59,132,90,62,129,141,98,22,65,122,139,28,21,82,34,50,84,146,89,148,149],delimit:57,ill:[14,104,120,19],equal:[16,117,118,119,82,148,47,49,144,99,132,122,91,92,95,129,97,98,63,26,27,84,145,146,71,37,124],rfind:116,range_algorithm:94,char_trait:[74,2,116,91,45,137,140,15,52,69,58,117,121,135,102,138,115,38,145,37,107,109,151],preprocessor:94,static_s:[24,116],stoumax:115,point:[133,48,5,32,21],header:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151],permut:16,is_permut:[16,27],respect:[22,12,46,84],minmax_el:[41,27],rend:[141,24,116,56],static_cast:[133,87],stretch:115,charwchar_t:123,empti:[133,17,49,50,122,129,41,93,103,24,71,116,57,79,10,130,82,132,92],unexpect:5,cend:[24,51,116],remark:[133,64,110,88,68,16,5,53,69,93,70,136,57,81,108,67,124],ani:[28,22,12,49,129,98,93,71,57,10,59],assert:[74,2,40,113,21,45,140,126,52,87,61,134,20,96,135,100,101,138,78,32,36,147],sprout_noexcept_expr:[20,40,113,78,24,116],tuple_get:[104,120,115,86],"case":[96,126],u32str:[115,127],ident:5,defin:[104,53,93,54,24,70,150,116,57,120,67],sprout_constexpr:[0,1,3,4,5,8,9,10,11,12,13,15,17,18,121,22,24,25,26,28,93,30,31,33,34,35,37,38,39,16,41,42,43,44,46,47,49,50,51,53,54,55,56,57,58,59,60,62,63,64,65,66,67,68,70,71,73,75,76,77,29,79,80,81,82,83,84,85,88,89,90,91,92,95,96,97,98,99,102,103,105,106,107,108,109,110,111,112,114,104,116,117,118,119,120,122,125,126,69,129,130,132,133,134,124,137,139,141,142,143,144,145,146,148,149,150,151],behavior:[108,68],furthermost:[22,12],exist:16,invoc:[0,1,3,4,8,9,10,11,12,13,15,17,18,121,22,25,26,28,93,30,31,33,34,35,37,38,39,16,41,42,43,44,46,47,49,50,51,53,54,55,56,57,58,59,60,62,63,64,70,66,67,68,65,71,73,75,76,77,29,79,80,81,82,83,84,85,88,89,90,91,92,95,96,97,98,99,102,103,105,106,108,109,110,111,112,114,104,117,118,119,120,122,124,125,126,69,129,130,132,133,136,137,139,141,142,143,144,145,146,148,149,150,151],bolero:48,cctype:94,floattyp:115,sever:[70,53,67],welcom:48,author:48,perform:[52,45,138],alphabet:94,murakami:48,same:[133,78,33,34,114,90,93,104,112,57,120],shorter:[93,57],binari:[46,27],complex:[0,1,2,3,4,5,8,9,10,11,12,13,15,16,17,18,121,20,22,25,26,28,29,30,31,33,34,35,37,38,39,40,41,42,43,44,45,46,47,49,50,51,52,53,54,55,56,57,58,59,60,62,63,64,70,66,67,68,65,71,73,74,75,76,77,78,79,80,81,82,83,84,85,88,89,90,91,92,93,94,95,96,97,98,99,102,103,105,106,108,109,110,111,112,113,114,104,117,118,119,120,122,124,125,126,69,129,130,132,133,135,136,137,138,139,140,141,142,143,144,145,146,148,149,150,151],largest:[81,70,67],document:48,http:48,effect:[74,2,40,113,21,45,133,140,126,52,129,71,61,92,20,96,98,135,100,101,138,32,36,147],weed:94,stoul:115,lower:[12,84],elem:24,is_heap:[125,27],exampl:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,70,66,67,68,69,65,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,88,89,90,91,92,93,95,96,97,98,99,100,101,102,103,105,106,108,109,110,111,112,113,114,104,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151],thi:[48,61,32,53,21,69,78,70,36,100,101,64,67],undefin:[108,68],sprout_static_constexpr:[0,1,2,3,4,5,8,9,29,10,11,12,13,15,17,18,121,22,23,24,25,26,28,93,30,31,32,33,34,35,36,37,38,39,16,41,42,43,44,45,46,47,49,50,51,52,53,54,55,56,57,58,59,60,62,63,64,65,66,67,68,70,71,72,73,6,75,76,77,21,79,80,81,82,83,84,85,87,88,89,90,91,92,95,96,97,98,99,100,101,102,103,105,106,108,109,110,111,112,114,104,116,117,118,119,120,122,124,125,126,69,128,129,130,132,133,134,135,136,137,139,140,141,142,143,144,145,146,148,149,150,151],bit_oper:94,distanc:[133,16,121,41,69,65,11],less:[0,39,50,38,144,98,114,93,71,57,102,109,97,139],nan:5,license_1_0:48,float_to_str:115,find_last_of:116,stringconstiter:[36,116,32],is_strictly_increas:[112,27],float_to_string_exp:115,static_assert:[0,1,3,4,5,7,8,9,10,11,12,13,14,15,17,18,19,22,23,25,26,28,93,30,31,33,34,35,37,38,39,41,42,43,44,46,47,49,50,51,53,54,55,56,57,58,59,60,62,63,64,70,66,67,68,65,71,72,73,6,75,76,77,29,79,80,81,82,83,84,85,69,88,89,90,91,92,95,96,97,98,99,102,103,105,106,108,109,110,111,112,114,104,117,118,119,120,121,122,123,125,126,127,128,129,130,131,132,16,124,137,139,141,142,143,144,145,146,148,149,150,151],miscellan:94,size_t:[0,74,2,39,40,6,7,21,104,116,118,45,120,121,47,123,81,137,144,14,15,52,127,128,54,69,131,133,19,20,95,97,63,23,24,100,25,26,102,138,107,31,33,99,135,72,109,150],except:[78,113,20,40],blog:48,exposit:24,input:[73,1,3,75,4,112,5,41,42,90,43,8,104,44,79,9,10,119,11,80,83,133,12,111,49,13,139,51,85,76,53,128,46,54,146,55,56,114,130,59,132,89,17,77,18,62,141,103,22,23,70,143,122,136,66,120,67,28,29,30,68,125,82,142,34,35,50,105,84,149,65,60,106,148,108,150],adl:[54,120,150,104],subsequ:[129,71,98],match:92,applic:[110,3,41,93,44,79,10,119,82,148,122,49,50,139,57,130,59,132,16,92,129,98,67,28,146,71,124],wstring:[123,115],is_increas:[114,27],recurs:[0,1,3,4,8,9,10,11,12,13,15,17,18,121,22,25,26,28,93,30,31,33,34,35,37,38,39,16,41,42,43,44,46,47,49,50,51,53,54,55,56,57,58,59,60,62,63,64,70,66,67,68,65,71,73,75,76,77,29,79,80,81,82,83,84,85,88,89,90,91,92,95,96,97,98,99,102,103,105,106,108,109,110,111,112,114,104,117,118,119,120,122,124,125,126,69,129,130,132,133,136,137,139,141,142,143,144,145,146,148,149,150,151],insert:115,like:[133,94],specif:94,integ:[107,71,98,129],noth:[78,113,20,40],char_typ:[74,2,117,121,38,137,69,138,135,37,116,107,102,145,109,15,140],resiz:[61,116],page:48,www:48,homu:[81,61,134],twitter:48,linux:48,some:[109,92],back:[73,111,29,24,55,116],last1:[16,110,92,129,93,71,57,124],last2:[16,110,92,129,93,71,57,124],sizeof:[64,88],make_pair:[41,84],librari:[48,94],pos1:116,length_error:[21,61,32],not_eof:[107,151],common_decai:88,overlap:52,mathemat:94,const_point:[73,9,142,24,55,116],nonempti:146,condit:[28,110,12,3,92,129,5,98,22,2,44,139,124,71,148,45,119,46,59,146],leftmost:[70,53,67],content:[47,0,39,144,95,48,97,25,63,99,26,31,118],refer:[111,68,4,143,41,43,29,104,24,116,80,108,120],ration:94,stoimax:115,index_tupl:94,repositori:48,lessthancompar:[5,70,53,67],sprout_assert_msg:[21,74,2,20,32,40,96,52,78,61,36,147,100,101,126,45,113,138,135,140],"throw":[133,21,61,134,20,32,40,143,113,43,78],comparison:[0,39,5,93,115,118,46,47,12,144,99,86,57,59,95,97,63,22,25,26,67,27,28,31,84],c_str:[87,116],most:[110,3,41,93,79,10,119,82,46,122,12,49,50,139,57,130,132,92,129,98,22,67,84,71,124],delim1:57,delim2:57,find_first_of:[92,116,27],includ:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,70,66,67,68,69,65,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,88,89,90,91,92,93,95,96,97,98,99,100,101,102,103,105,106,108,109,110,111,112,113,114,104,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151],constructor:116,string_to_int:115,search_n:[98,27],any_of:[10,27],clamp:[5,27],"float":5,fill_n:[96,126],forwarditer:[28,90,12,13,34,41,98,114,22,84,146,112,11,46,59],cstdlib:94,u16str:[115,7],fill:[74,126,96,24,147,138],support:[48,115,94,53,70,86,67],transform:57,out_of_rang:[133,21,134,143,43],start:48,compliant:94,interfac:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,125,126,127,128,129,130,131,132,133,134,135,124,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151],low:5,strictli:[34,112],const_reverse_iter:[141,1,75,62,85,77,24,116,56,66],"function":[0,1,3,4,8,9,10,11,12,13,15,17,18,121,22,23,24,25,26,27,28,93,30,31,33,34,35,37,38,39,16,41,42,43,44,46,47,49,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,70,71,73,75,76,77,29,79,80,81,82,83,84,85,86,88,89,90,91,92,94,95,96,97,98,99,102,103,104,105,106,107,108,109,110,111,112,114,115,116,117,118,119,120,122,124,125,126,69,128,129,130,132,133,136,137,139,141,142,143,144,145,146,148,149,150,151],form:[14,104,120,19],tupl:[6,115,19,94,14,104,86,72,120,150],is_sam:[123,19,14,127,7,36,131],link:48,heap:[65,125,27],inlin:[0,110,39,40,112,5,41,114,93,104,44,79,3,10,81,11,46,47,12,125,49,98,13,82,53,54,16,146,139,57,88,59,132,90,119,92,20,95,129,97,50,118,63,22,99,70,122,25,26,120,67,28,64,130,31,33,34,144,84,65,71,148,150,124],"true":[0,39,16,93,79,118,82,10,47,137,49,144,69,46,99,130,132,17,95,97,63,122,25,26,103,31,50,109,124],longer:[93,57],count:[148,44,98,27],concaten:[81,115],wise:[78,113],"default":[133,116],mado:81,maximum:27,is_decreas:[90,27],below:[16,110,124],extractor:115,to_char_typ:[107,37,145],otherwis:[0,39,16,5,41,93,79,10,11,118,47,49,144,82,133,69,99,57,130,132,17,95,97,63,65,122,25,26,67,103,31,50,71,109,124],constant:[117,73,1,75,4,6,77,42,43,8,104,9,91,80,81,51,83,133,111,140,126,120,15,76,55,56,88,58,89,37,17,18,121,62,96,141,85,64,24,116,136,66,102,103,29,30,68,33,142,35,105,145,143,149,60,106,72,108,38,151],sub_arrai:94,"int":[0,6,3,75,111,112,5,41,42,43,8,44,79,128,9,91,10,119,11,80,47,12,125,49,136,13,14,51,53,110,46,16,146,139,132,56,57,126,114,130,59,129,89,90,122,77,18,92,20,95,96,97,82,98,118,103,22,70,116,25,66,102,67,120,28,93,68,64,33,142,34,50,145,84,101,65,71,37,106,107,148,113,109,150,124],to_arrai:[86,33],matafunct:[115,86],"char":[74,2,117,45,121,133,137,140,15,52,69,58,131,91,19,135,102,138,38,145,37,107,109,151],decreas:[34,90],file:48,adjac:146,pit:94,constinputiter:[137,52,69,107,45,109],denot:[16,110,124],copyconstruct:[70,53,67],floor:41,pos2:116,hpp:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151],when:[67,61,53,70,69],other:[48,113,93,146,116,57],bool:[0,39,90,112,114,93,79,116,117,10,82,46,47,125,49,13,16,99,130,132,17,91,95,97,50,118,63,24,122,25,26,103,31,34,38,144,107,124],trait:[133,115,81,39,19,144,104,54,40,63,21,23,99,100,26,116,31,72,87],shrink:115,repeat:133,sequenc:[78,94,129,98,93,71,57,27],stoull:115,max_siz:[30,18,116,32,21,24,61],outputiter:[107,52,45,138],to_u32str:115,concat:81,eof:[107,58,151],algorithm:[110,3,16,112,5,41,114,93,44,79,10,119,11,46,122,48,12,125,49,13,82,53,146,139,86,57,130,59,132,90,92,94,129,98,22,70,67,27,28,115,34,50,84,65,71,148,124],reverse_iter:[141,85,24,116,56,66],directori:48,descript:[48,115,128,23,24,116,86,107],to_str:115,depth:[0,1,3,4,8,9,10,11,12,13,15,17,18,121,22,25,26,28,93,30,31,33,34,35,37,38,39,16,41,42,43,44,46,47,49,50,51,53,54,55,56,57,58,59,60,62,63,64,70,66,67,68,65,71,73,75,76,77,29,79,80,81,82,83,84,85,88,89,90,91,92,95,96,97,98,99,102,103,105,106,108,109,110,111,112,114,104,117,118,119,120,122,124,125,126,69,129,130,132,133,136,137,139,141,142,143,144,145,146,148,149,150,151],time:94,convert:[98,145,24,37,116,136,87]},objtypes:{},titles:["operator<","crbegin","copy","find_if","front","clamp","std::tuple_size","u16string","begin","data","any_of","is_sorted_until","lower_bound","is_sorted","std::tuple_element","length","is_permutation","empty","max_size","std::tuple_element","swap","assign","upper_bound","std::hash","array","operator>","operator!=","Sprout.Algorithm","min_element","back","max_size","operator>","assign","to_array","is_strictly_decreasing","size","operator=","to_char_type","lt","operator<","swap","minmax_element","size","at","count_if","copy","binary_search","operator!=","Sprout C++ Libraries","any_of_equal","all_of","cend","move","min","hash_value","back","rend","tristate_lexicographical_compare","eof","max_element","begin","resize","crend","operator>=","make_array","is_heap_until","rbegin","minmax","operator[]","find","max","search","std::tuple_size","back","assign","crend","end","crbegin","swap","one_of","front","operator+","none_of_equal","length","equal_range","rbegin","Sprout.Array","operator std::basic_string","make_common_array","end","is_decreasing","eq_int_type","find_first_of","lexicographical_compare","Libraries","operator>=","fill","operator<=","search_n","operator==","operator=","operator=","compare","empty","tuple_get","cbegin","cbegin","char_traits","operator[]","compare","mismatch","back","is_strictly_increasing","swap","is_increasing","Sprout.String","basic_string","eq","operator==","find","tuple_get","find","all_of_equal","wstring","equal","is_heap","assign","u32string","std::hash","find_end","none_of","string","one_of_equal","basic_string","substr","move","(initializer)","length","assign","find_if_not","assign","rend","c_array","at","operator<=","to_int_type","adjacent_find","clear","count","cbegin","hash_value","not_eof"],objnames:{},filenames:["libs/array/array/operator-less","libs/string/basic_string/crbegin","libs/string/char_traits/copy","libs/algorithm/find_if","libs/string/basic_string/front","libs/algorithm/clamp","libs/array/array/std-tuple_size","libs/string/u16string","libs/array/array/begin","libs/array/array/data","libs/algorithm/any_of","libs/algorithm/is_sorted_until","libs/algorithm/lower_bound","libs/algorithm/is_sorted","libs/array/array/std-tuple_element","libs/string/char_traits/length","libs/algorithm/is_permutation","libs/string/basic_string/empty","libs/array/array/max_size","libs/string/basic_string/std-tuple_element","libs/array/array/swap-global","libs/string/basic_string/assign","libs/algorithm/upper_bound","libs/string/basic_string/std-hash","libs/array/array/index","libs/array/array/operator-greater","libs/string/basic_string/operator-not_equal_to","libs/algorithm/index","libs/algorithm/min_element","libs/string/basic_string/back","libs/string/basic_string/max_size","libs/string/basic_string/operator-greater","libs/string/basic_string/assign-iterator","libs/array/to_array","libs/algorithm/is_strictly_decreasing","libs/string/basic_string/size","libs/string/basic_string/operator-assign-iterator","libs/string/char_traits/to_char_type","libs/string/char_traits/lt","libs/string/basic_string/operator-less","libs/string/basic_string/swap-global","libs/algorithm/minmax_element","libs/array/array/size","libs/array/array/at","libs/algorithm/count_if","libs/string/char_traits/copy-iterator","libs/algorithm/binary_search","libs/array/array/operator-not_equal_to","index","libs/algorithm/any_of_equal","libs/algorithm/all_of","libs/array/array/cend","libs/string/char_traits/move-iterator","libs/algorithm/min","libs/string/basic_string/hash_value","libs/string/basic_string/c_array","libs/array/array/rend","libs/algorithm/tristate_lexicographical_compare","libs/string/char_traits/eof","libs/algorithm/max_element","libs/string/basic_string/begin","libs/string/basic_string/resize","libs/string/basic_string/crend","libs/string/basic_string/operator-greater_equal","libs/array/make_array","libs/algorithm/is_heap_until","libs/array/array/rbegin","libs/algorithm/minmax","libs/array/array/operator-subscript","libs/string/char_traits/find-iterator","libs/algorithm/max","libs/algorithm/search","libs/string/basic_string/std-tuple_size","libs/string/basic_string/data","libs/string/char_traits/assign-string","libs/array/array/crend","libs/string/basic_string/end","libs/array/array/crbegin","libs/string/basic_string/swap","libs/algorithm/one_of","libs/array/array/front","libs/string/basic_string/operator-plus","libs/algorithm/none_of_equal","libs/string/basic_string/length","libs/algorithm/equal_range","libs/string/basic_string/rbegin","libs/array/index","libs/string/basic_string/operator-std-basic_string","libs/array/make_common_array","libs/array/array/end","libs/algorithm/is_decreasing","libs/string/char_traits/eq_int_type","libs/algorithm/find_first_of","libs/algorithm/lexicographical_compare","libs/index","libs/array/array/operator-greater_equal","libs/array/array/fill","libs/array/array/operator-less_equal","libs/algorithm/search_n","libs/string/basic_string/operator-equal_to","libs/string/basic_string/operator-assign","libs/array/array/operator-assign","libs/string/char_traits/compare","libs/array/array/empty","libs/string/basic_string/tuple_get","libs/string/basic_string/cbegin","libs/array/array/cbegin","libs/string/char_traits/index","libs/string/basic_string/operator-subscript","libs/string/char_traits/compare-iterator","libs/algorithm/mismatch","libs/array/array/back","libs/algorithm/is_strictly_increasing","libs/array/array/swap","libs/algorithm/is_increasing","libs/string/index","libs/string/basic_string/index","libs/string/char_traits/eq","libs/array/array/operator-equal_to","libs/algorithm/find","libs/array/array/tuple_get","libs/string/char_traits/find","libs/algorithm/all_of_equal","libs/string/wstring","libs/algorithm/equal","libs/algorithm/is_heap","libs/array/array/assign","libs/string/u32string","libs/array/array/std-hash","libs/algorithm/find_end","libs/algorithm/none_of","libs/string/string","libs/algorithm/one_of_equal","libs/string/basic_string/constructor-","libs/string/basic_string/substr","libs/string/char_traits/move","libs/array/array/initializer-","libs/string/char_traits/length-iterator","libs/string/char_traits/assign-iterator","libs/algorithm/find_if_not","libs/string/char_traits/assign","libs/string/basic_string/rend","libs/array/array/c_array","libs/string/basic_string/at","libs/string/basic_string/operator-less_equal","libs/string/char_traits/to_int_type","libs/algorithm/adjacent_find","libs/string/basic_string/clear","libs/algorithm/count","libs/string/basic_string/cend","libs/array/array/hash_value","libs/string/char_traits/not_eof"]}) \ No newline at end of file +Search.setIndex({objects:{},terms:{all:[135,124,62,51,33,65,85,24,118,88,109,90,47],math_funct:96,definit:[109,24,130,118,145],prefix:[95,58],follow:[28,112,12,3,94,134,5,100,22,88,45,72,141,62,126,58,151,121,60,149],find_if:[58,3,27],value_typ:[135,125,62,118,32,98,129,7,21,24,150,102,88,133],whose:[135,21,62,32,138],"const":[0,1,2,4,5,8,9,52,12,15,17,18,123,22,23,24,25,26,29,30,31,33,35,61,40,43,44,47,48,142,147,54,55,56,57,58,63,64,71,67,68,69,74,76,77,78,21,81,82,83,84,85,86,88,89,91,97,131,99,100,102,103,104,105,107,108,109,110,111,113,106,118,120,121,122,124,128,70,98,38,135,136,137,50,143,144,146,101,151,152,153],tuple_el:[14,117,19,87],bind2nd:[3,51,45,80,58,10,132,141],compost:96,to_string_of:117,swap:[117,20,41,115,79,24,118,87],under:49,iterator_trait:[151,45],is_strictly_decreas:[34,27],sprout_no_cxx14_initializer_list:[71,54,68],everi:[124,132,83,126,51],count_if:[45,27],fals:[0,40,16,95,80,10,83,120,48,50,147,101,132,38,17,97,99,64,124,25,26,105,31,51,126],is_sorted_until:[27,11,13],result2:58,result1:58,util:96,facebook:49,element_typ:[14,19],greater_equ:34,min_el:[28,27],one_of_equ:[38,27],list:[16,112,96,138,68,126],to_u16str:117,iter:[1,3,76,77,42,112,8,45,80,118,10,121,52,47,123,124,12,50,51,11,86,70,149,57,72,132,60,38,91,16,78,94,96,63,134,143,100,22,23,24,67,141,28,83,107,66,36,61,108,109,151,152,126],initializer_list:[135,118,71,54,68],upper:[22,85],impli:[47,85],find_end:[134,27],zero:[58,106,122,111],design:[135,62],aggreg:138,odd:45,linear:[75,2,41,115,79,46,11,139,15,53,70,55,88,123,20,98,66,104,140,137,111,153],compat:96,index:[106,122],compar:[5,42,95,118,11,47,12,127,13,54,58,60,98,22,23,66,104,68,28,85,71,109,111],neg:[111,100],brief:49,access:[16,24,118,126],inputiterator1:[95,58,112,94,126],inputiterator2:[95,58,112,126],version:[58,49,128,70,131],boost:49,hash:[117,145,130,55,87,153],gener:[117,145,96,130,55,87,153],satisfi:47,path:49,becom:82,modifi:[24,118,27],valu:[6,16,5,129,151,121,83,47,94,135,125,12,50,85,14,54,130,55,149,134,58,72,133,38,124,19,131,100,22,23,71,7,68,88,145,128,148,24,36,37,73,111,153],search:[72,47,27],convers:[89,117,118],checksum:96,larger:[42,71],none_of_equ:[83,27],is_heap_until:[66,127,27],implement:[71,98,54,24,118,88,68],traits_typ:[135,32,98,21,118,88],control:[21,88,32],find_last_not_of:118,substr:[136,118],instal:49,txt:49,make_arrai:[65,90,87],pos_typ:109,range_numer:96,from:[135,153,3,94,145,33,134,100,130,148,55,45,72,37,89,151,121,141,149],would:16,pred:[16,112,3,94,51,134,100,45,72,126,80,10,132,141,149],two:[95,98,5,58],websit:49,program:[14,106,122,19],call:[21,32,106,98,115,79,55,122,153],type:[6,5,138,129,118,135,125,14,54,130,55,90,133,19,96,100,65,145,71,102,73,7,68,148,24,37,109,153],until:[66,11],sort:[27,11,13],cwchar:96,rlen:[135,98,136,21],mismatch:[112,27],int_to_str:117,hold:[28,112,12,3,94,134,5,100,22,45,72,141,126,151,121,60,149],logarithm:[0,112,40,92,114,42,116,70,95,45,80,3,10,121,11,47,123,48,12,127,50,100,13,83,15,54,55,16,149,141,134,58,132,60,38,135,94,97,98,99,139,51,120,64,22,88,101,71,124,25,26,104,68,28,31,34,147,85,66,72,151,111,153,126],high:5,none:[132,83],enable_if:[135,118,102],alia:[125,129,133,7],remain:62,can:[88,49,82,138],those:[21,32],meet:[135,16,126,130,145],input2:[16,112,94,134,95,72,58,126],off_typ:109,input1:[16,112,3,94,134,100,95,72,58,121,141,126],give:[49,5],templat:[0,3,5,7,95,10,11,12,13,14,19,20,22,23,24,25,26,28,31,32,33,34,147,36,40,41,42,45,46,47,48,50,135,53,54,55,58,60,64,65,66,68,71,72,73,6,21,80,151,82,83,85,88,70,90,92,94,96,97,134,99,100,102,103,109,111,89,112,114,116,106,118,120,121,122,124,125,127,101,129,130,98,132,133,38,16,139,140,141,145,51,149,153,126],hash_rang:[55,153,130,145],minimum:27,stoll:117,stold:117,string:[74,1,2,40,4,75,7,79,117,118,119,46,84,135,125,82,139,142,147,150,15,53,129,133,77,55,56,88,89,59,123,37,17,62,93,19,145,96,63,98,86,136,21,64,152,23,137,102,109,26,104,41,140,143,29,30,31,70,32,106,146,35,101,107,148,36,61,73,110,111,39,154],alwai:[1,76,63,78,107,108,152,52],gcc:49,end:[112,3,77,114,42,116,95,45,80,118,10,121,11,47,135,12,127,50,13,83,16,149,58,132,60,38,92,115,94,124,134,150,100,22,66,103,141,28,34,51,85,24,72,91,151,126],find_if_not:[141,27],constinputiterator1:[109,111],constinputiterator2:[109,111],basic_str:[40,41,7,21,117,118,82,135,125,147,129,55,88,89,133,136,19,145,98,64,23,102,26,79,31,32,106,101,36,73],"void":[62,128,20,41,131,115,79,24,150,118,109,142],npo:[135,21,136,118,88],make_common_arrai:[90,87],max:[28,30,18,42,71,68,60,27],after:[143,76,77,63,57,152,52,91],variant:96,mai:5,const_iter:[118,77,107,8,23,24,36,61,108,152,52,91],stol:117,alloc:[89,118],github:49,inttyp:117,japanes:49,explicit:[135,118],correspond:[112,3,5,42,95,45,151,121,47,12,68,58,60,16,94,134,100,22,141,28,149,72,126],element:[65,1,115,3,76,8,4,78,42,43,7,29,106,45,91,9,81,121,52,47,84,135,125,12,113,85,14,122,86,41,129,133,77,56,57,58,95,90,60,16,62,18,19,20,63,143,21,22,88,24,118,138,67,94,44,141,28,79,30,69,32,33,144,35,107,146,152,149,61,108,151,110,74],caus:[110,69],alias:117,callabl:[55,122,153,106],worst:16,tuple_s:[73,6,117,87],string_from_c_str:117,ith:[106,122],sprout:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154],move:[53,106,137,103,109,122],becaus:[55,122,153,106],increas:[114,116],through:49,binarypred:[16,112,94,134,100,149,72,126],pointer:[74,9,70,144,24,56,118],equiv:58,shorter:[95,58],tristate_lexicographical_compar:[58,27],uuid:96,fix:96,decai:90,mail:49,main:[21,75,2,20,32,41,131,53,79,62,36,150,102,103,128,46,115,140,137,142],alter:62,non:[117,100,95,87,58,27],"return":[0,1,3,4,5,8,9,29,10,11,12,13,15,17,18,123,22,23,25,26,28,95,30,31,32,33,34,35,36,37,39,40,42,43,44,45,47,48,50,51,52,54,55,56,57,58,59,60,61,63,64,65,71,67,68,69,66,72,73,74,6,76,77,78,21,80,81,82,83,84,85,86,88,89,90,91,92,93,94,97,131,99,100,101,102,103,104,105,107,108,110,111,112,113,114,116,106,119,120,121,122,124,127,128,70,134,98,132,38,16,136,126,139,141,143,144,146,147,148,149,151,152,153,154],greater:[92,31,97,64,80,25,58,3,10,132],nonneg:[134,72],auto:[0,1,3,4,5,8,9,10,11,12,13,15,16,17,18,123,20,21,22,145,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,50,51,52,53,54,55,56,57,58,60,61,62,63,64,65,71,67,68,69,66,72,73,74,6,76,77,78,79,80,81,82,83,84,85,86,88,89,90,91,92,93,94,95,97,98,99,100,101,102,103,104,105,107,108,110,111,112,113,114,115,116,106,119,120,121,122,124,126,127,128,70,130,131,132,134,135,136,138,139,140,141,143,144,146,147,148,149,150,151,152,153,154],initi:[135,62,65,24,138,90,68],bound:[12,69,19,85,14,44,22,106,146,110,122],front:[81,24,118,4],oper:[0,40,103,117,118,26,120,82,48,147,130,87,89,96,97,99,64,145,24,102,25,69,27,31,101,36,109,110],from_str:117,lexicographical_compar:[95,27],revers:[143,1,76,63,86,78,57,67],separ:138,mode:49,each:[49,115,20,41,53,79,149,46,111,140],found:[112,3,94,134,100,70,149,72,88,121,47,141,123],compil:[49,96],adjacent_find:[149,27],domain:96,replac:[21,62,32],individu:49,"static":[119,75,2,93,123,148,139,15,53,39,70,140,142,137,37,109,104,46,111,59,154],madocchi:[111,21,40,2,31,32,147,98,53,64,79,137,36,102,88,26,104,46,41],logn:[0,112,40,92,114,42,116,70,95,45,80,3,10,121,11,47,123,48,12,127,50,100,13,83,15,54,55,16,149,141,134,58,132,60,38,135,94,97,98,99,139,51,120,64,22,88,101,71,124,25,26,104,68,28,31,34,147,85,66,72,151,111,153,126],special:[117,87],out:[69,19,14,44,106,146,110,122],all_of_equ:[124,85,27],categori:96,typenam:[0,3,5,95,10,11,12,13,14,19,20,22,145,24,25,26,28,31,32,33,34,147,36,40,41,42,45,46,47,48,50,135,53,54,55,58,60,64,65,66,68,71,72,73,6,21,80,151,82,83,85,89,90,92,94,97,134,99,100,102,103,109,111,112,114,116,106,118,120,121,122,124,127,101,70,130,132,38,16,139,140,141,23,51,149,153,126],inputiter:[135,124,132,3,50,51,21,45,80,118,10,121,83,151,141,38],integr:[135,73,6,100],log2:[22,12,47,85],forwarditerator2:[134,72,94,16],forwarditerator1:[134,72,16],standard:96,base:[49,122,106],org:49,upper_bound:[22,85,27],length:[135,62,139,32,96,98,15,21,150,118,109,82,84],string_to_float:117,one_of:[80,27],homuhomu:[74,1,2,40,4,75,79,106,46,84,135,139,147,15,53,70,77,55,56,89,150,62,136,123,63,98,21,64,152,145,137,102,26,104,41,140,143,29,30,31,32,146,35,101,107,36,61,110,111,86],assign:[75,118,32,128,53,21,24,36,102,103,109,46,140,142],first:[74,1,3,118,4,114,42,112,8,45,80,9,10,121,11,47,135,12,127,50,13,141,83,86,54,78,149,56,58,132,60,38,92,62,94,124,81,100,21,116,22,71,67,68,28,95,144,34,51,107,85,66,72,61,108,151],origin:[62,37,148],softwar:49,rang:[112,3,16,42,95,45,80,151,121,83,10,135,12,50,51,11,53,47,58,132,60,38,124,94,134,100,22,66,141,28,85,149,72,126],declval:[79,24,115,118],arrai:[0,3,5,8,9,10,11,12,13,14,16,17,18,20,22,24,25,28,95,32,33,34,36,41,42,43,44,45,47,48,50,51,52,54,57,58,60,65,66,67,68,69,71,72,6,76,78,21,80,81,83,85,87,90,91,92,94,96,97,134,99,100,102,103,105,108,112,113,114,115,116,120,121,122,124,127,128,130,131,132,38,135,138,141,144,149,151,153,126],number:[49,30,18,5,43,95,45,58,151,82,35,84],cinttyp:96,cchi:88,smaller:[135,136,42,54,21,68],least:[135,21,32],max_el:[60,27],sprout_assert_masg:[89,136],lexicograph:[0,31,147,97,99,64,95,25,58,40,27],size:[6,43,21,118,136,84,135,54,88,90,17,62,18,96,98,100,65,71,68,105,30,35,24,150,73],given:[16,112,126],rightmost:68,data:[74,136,118,96,144,98,21,24,56,9],licens:49,cstring:96,capac:[24,118],construct:[135,24,118],conveni:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,88,89,90,91,92,93,94,95,97,98,99,100,101,102,103,104,105,107,108,109,110,111,112,113,114,115,116,106,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154],store:[82,96],to_hash:[55,153],darkroom:96,namespac:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,145,25,26,28,29,30,31,32,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,71,67,68,69,70,66,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,88,89,91,92,93,94,95,97,98,99,100,101,102,103,104,105,107,108,110,111,112,113,114,115,116,106,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,146,147,148,149,150,151,152,153,154],copi:[49,2,137,118,32,33,53,54,21,71,24,62,103,109,46,68],specifi:[69,146,54,44,65,71,110,68],pars:[49,96],c_arrai:[144,24,56,118],first1:[16,112,94,134,95,72,58,126],first2:[16,112,94,134,95,72,58,126],exactli:[28,16,5,45,60,151,68,149],state_typ:109,than:[0,40,95,80,3,10,147,141,58,132,97,98,99,100,64,25,104,68,31,39,51,72,111],std:[0,75,2,40,145,41,103,6,131,7,79,117,45,118,119,151,46,115,120,137,123,48,125,82,139,142,147,14,122,15,53,129,130,140,55,101,87,88,89,59,133,135,62,93,19,20,97,98,99,136,64,23,24,102,25,26,104,44,54,68,109,21,31,70,32,33,146,39,128,148,106,71,36,37,73,111,153,154],to_int_typ:[109,37,148],sprout_explicit_convers:[89,118],second:[112,42,68,85],structur:96,charact:[79,109,117],project:49,postcondit:79,wchar_t:125,str:[135,98,118,21,88],posit:[112,3,76,77,42,44,106,121,52,123,12,85,11,70,57,88,91,143,94,63,134,100,22,66,122,141,28,152,69,146,149,72,60,110,111],to_wstr:117,pre:[2,46],"function":[0,1,3,4,8,9,10,11,12,13,15,17,18,123,22,145,24,25,26,27,28,95,30,31,33,34,35,37,38,39,40,16,42,43,44,45,47,48,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,71,72,74,76,77,78,29,80,81,82,83,84,85,86,87,88,90,91,92,93,94,96,97,98,99,100,101,104,105,106,107,108,109,110,111,112,113,114,116,117,118,119,120,121,122,124,126,127,128,70,130,131,132,134,135,138,139,141,143,144,146,147,148,149,151,152,153,154],difference_typ:[151,24,45,118],argument:[16,112,82,54,65,71,90,68,126],int_typ:[93,148,37,109,59,154],rai:[49,96],have:[95,58],need:65,predic:[112,3,42,45,80,10,121,83,151,124,50,51,68,132,38,16,94,134,100,141,149,72,126],constexprrandomaccessiter:[135,24,118],option:96,built:33,equival:[75,2,21,106,119,120,122,48,142,101,15,54,130,55,58,59,135,62,93,123,145,71,102,26,104,68,95,39,148,137,36,37,153,154],min:[28,135,112,42,54,95,149,68,58,126,60,27],destroi:[24,118],ptrdiff_t:[24,118],note:[55,98,106,24,118,88,122,153],also:[47,85],without:[131,128],which:[49,112,3,66,45,151,121,11,141,149],equal_rang:[85,27],const_refer:[69,128,4,146,131,113,44,29,24,118,81,110],sprout_noexcept:[119,74,1,76,77,78,43,8,106,9,93,52,84,122,86,56,57,88,59,91,61,17,18,63,143,144,24,118,67,105,30,35,150,107,148,37,108,109,152,39,154],even:53,begin:[112,3,128,16,114,42,116,8,45,80,118,10,46,11,47,135,12,127,50,13,83,53,70,149,134,58,72,132,60,38,92,115,121,94,124,131,150,100,22,24,103,139,140,141,28,95,32,34,51,85,66,36,61,151,111,126],unless:[79,115,20,41],distribut:49,trace:[49,96],shall:[22,12,100,68,85],buffer:[82,96],object:[135,65,96,90,33],size_typ:[135,30,18,118,32,146,98,35,136,43,44,21,23,24,62,88,69,110,84],pair:[112,85,42,95,58,68],crbegin:[78,1,24,118],madohomu:82,"class":[135,117,96,130,145,24,118,87],slideshar:49,syntax:[14,73,6,19,138],clear:[150,118],determin:[135,98,21,88],accompani:49,binary_search:[47,27],random:[49,16,126,96],rbegin:[67,86,24,118],all_of:[51,27],find:[94,134,100,70,72,118,88,109,121,123,27],current:[88,98],onli:[49,24,80,38],explicitli:65,copyright:49,find_first_not_of:118,swap_rang:115,get:[106,122],lower_bound:[85,12,27],make_str:117,express:[6,12,123,85,15,22,73,104,47],clang:49,range_adaptor:96,stoi:117,stod:117,none_of:[132,27],stof:117,is_sort:[92,13,114,116,34,27],requir:[5,21,106,122,47,135,12,85,14,54,130,16,62,136,19,100,22,23,71,68,32,145,36,126],enabl:[135,118,102],synthes:[49,96],yield:[95,58],common:90,partit:[22,12,47,85],contain:[74,112,3,16,114,42,43,79,45,80,9,10,121,11,47,84,48,49,12,127,50,13,83,56,58,132,60,38,92,18,94,96,124,134,100,120,116,22,101,66,26,141,28,95,30,144,34,35,51,85,149,72,151,126],comma:138,char32_t:129,where:[135,16,42,136,53,106,149,138,122,68],valid:[55,122,153,106],wiki:49,arr:[135,118,33],set:[94,150],cstdio:59,minmax:[68,27],see:49,result:[112,3,16,114,5,42,116,70,95,45,80,119,10,82,11,47,123,124,12,127,50,13,83,15,54,149,141,134,58,121,132,60,38,92,93,94,98,100,22,88,71,139,104,68,28,34,39,51,148,85,66,72,37,151,126,111,154],arg:[65,90],hash_valu:[55,117,153,87],any_of_equ:[50,27],modulu:45,correctli:53,eq_int_typ:[109,93,37,148],less_equ:114,smallest:[98,139,54,68,70],char16_t:7,neither:[95,58],paramet:[65,62],numer:[117,96],comp:[28,22,12,127,66,13,5,42,54,95,85,71,68,58,11,47,60],crend:[63,24,76,118],typedef:[109,24,118],cbegin:[118,24,107,108,152],constexpr:[49,71,54,68],type_trait:[125,19,96,14,129,7,133],bitset:96,randomaccessiter:[66,127],struct:[6,19,14,130,145,109,73],both:[88,149],metaprogram:96,last:[3,76,77,114,42,116,29,45,80,118,10,121,11,47,135,12,127,50,13,52,113,57,132,60,38,92,63,134,143,100,22,66,124,141,28,21,83,34,51,85,149,91,151,152],delimit:58,ill:[14,106,122,19],equal:[16,119,120,121,83,151,48,50,147,101,38,124,93,94,97,134,99,100,64,26,27,85,148,149,72,37,126],rfind:118,range_algorithm:96,char_trait:[75,2,118,93,46,139,142,15,53,70,59,119,123,137,104,140,117,39,148,37,109,111,154],preprocessor:96,static_s:[24,118],stoumax:117,point:[135,49,5,32,21],header:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154],permut:16,is_permut:[16,27],respect:[22,12,47,85],minmax_el:[42,27],rend:[143,24,118,57],static_cast:[135,89],stretch:117,charwchar_t:125,empti:[135,17,50,51,124,134,42,95,105,24,72,118,58,80,10,132,83,38,94],unexpect:5,cend:[24,52,118],remark:[135,65,112,90,69,16,5,54,70,95,88,71,138,58,82,110,68,126],ani:[28,22,12,50,134,100,95,72,58,10,60],assert:[75,2,41,115,21,46,142,128,53,89,62,136,20,131,137,102,103,140,79,32,36,150],sprout_noexcept_expr:[20,41,115,79,24,118],tuple_get:[106,122,117,87],"case":[131,128],u32str:[117,129],ident:5,defin:[106,54,95,55,24,71,153,118,58,122,68],sprout_constexpr:[0,1,3,4,5,8,9,10,11,12,13,15,17,18,123,22,23,24,25,26,28,95,30,31,33,34,35,37,39,40,16,42,43,44,45,47,48,50,51,52,54,55,56,57,58,59,60,61,63,64,65,66,67,68,69,71,72,74,76,77,78,29,80,81,82,83,84,85,86,88,90,91,92,93,94,97,98,99,100,101,104,105,107,108,109,110,111,112,113,114,116,106,118,119,120,121,122,124,127,128,70,134,131,132,38,135,136,126,139,141,143,144,146,147,148,149,151,152,153,154],behavior:[110,69],furthermost:[22,12],exist:16,invoc:[0,1,3,4,95,9,10,11,12,13,15,17,18,123,22,25,26,28,8,30,31,33,34,35,37,39,40,16,42,43,44,45,47,48,50,51,52,54,55,56,57,58,59,60,61,63,64,65,71,67,68,69,66,72,74,76,77,78,29,80,81,82,83,84,85,86,88,90,91,92,93,94,97,98,99,100,101,104,105,107,108,110,111,112,113,114,116,106,119,120,121,122,124,126,127,128,70,134,131,132,38,135,138,139,141,143,144,146,147,148,149,151,152,153,154],bolero:49,fill:[75,128,131,24,150,140],cctype:96,floattyp:117,sever:[71,54,68],welcom:49,author:49,perform:[53,46,140],alphabet:96,murakami:49,same:[135,79,33,34,116,92,95,106,114,58,122],member:[117,130,145,24,118,87,109],binari:[47,27],complex:[0,1,2,3,4,5,8,9,10,11,12,13,15,16,17,18,123,20,22,25,26,28,29,30,31,33,34,35,37,39,40,41,42,43,44,45,46,47,48,50,51,52,53,54,55,56,57,58,59,60,61,63,64,65,71,67,68,69,66,72,74,75,76,77,78,79,80,81,82,83,84,85,86,88,90,91,92,93,94,95,96,97,98,99,100,101,104,105,107,108,110,111,112,113,114,115,116,106,119,120,121,122,124,126,127,128,70,134,131,132,38,135,137,138,139,140,141,142,143,144,146,147,148,149,151,152,153,154],largest:[82,71,68],document:49,http:49,effect:[75,2,41,115,131,21,46,135,142,128,53,134,88,72,62,94,20,98,100,137,102,103,140,32,36,150],weed:96,stoul:117,lower:[12,85],elem:24,is_heap:[127,27],exampl:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,145,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,71,67,68,69,70,66,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,88,89,90,91,92,93,94,95,97,98,99,100,101,102,103,104,105,107,108,110,111,112,113,114,115,116,106,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,146,147,148,149,150,151,152,153,154],thi:[49,62,32,98,54,21,70,79,23,71,36,102,103,65,68],undefin:[110,69],sprout_static_constexpr:[0,1,2,3,4,5,8,9,29,10,11,12,13,15,17,18,123,22,145,24,25,26,28,95,30,31,32,33,34,35,36,37,38,39,40,16,42,43,44,45,46,47,48,50,51,52,53,54,55,56,57,58,59,60,61,63,64,65,66,67,68,69,71,72,73,74,6,76,77,78,21,80,81,82,83,84,85,86,88,89,90,91,92,93,94,97,98,99,100,101,102,103,104,105,107,108,110,111,112,113,114,116,106,118,119,120,121,122,124,126,127,128,70,130,131,132,134,135,136,137,138,139,141,142,143,144,146,147,148,149,151,152,153,154],bit_oper:96,distanc:[135,16,123,42,70,66,11],less:[0,40,147,98,39,51,100,116,95,72,58,104,111,99,141],nan:5,license_1_0:49,obtain:88,float_to_str:117,find_last_of:118,stringconstiter:[23,36,118,32],is_strictly_increas:[114,27],float_to_string_exp:117,static_assert:[0,1,3,4,5,7,8,9,10,11,12,13,14,15,17,18,19,22,145,25,26,28,95,30,31,33,34,35,37,38,39,40,42,43,44,45,47,48,50,51,52,54,55,56,57,58,59,60,61,63,64,65,71,67,68,69,66,72,73,74,6,76,77,78,29,80,81,82,83,84,85,86,88,70,90,91,92,93,94,97,98,99,100,101,104,105,107,108,110,111,112,113,114,116,106,119,120,121,122,123,124,125,127,128,129,130,131,132,133,134,16,126,139,141,143,144,146,147,148,149,151,152,153,154],miscellan:96,size_t:[0,75,2,40,41,6,7,21,106,118,120,46,122,123,48,125,82,139,147,14,15,53,129,130,55,88,70,133,135,19,20,97,98,99,64,145,24,102,25,26,104,140,109,31,33,101,137,73,111,153],except:[79,115,20,41],blog:49,exposit:24,input:[74,1,3,76,4,114,5,42,43,92,44,8,106,45,80,9,10,121,11,81,84,135,12,113,50,13,141,52,86,77,54,130,47,55,149,56,57,88,116,132,60,38,91,17,78,18,63,143,105,22,145,71,146,124,138,67,122,68,28,29,30,69,127,83,144,34,35,51,107,85,152,66,61,108,151,110,153],adl:[55,122,153,106],subsequ:[134,72,100],match:94,applic:[112,3,42,95,45,80,10,121,83,151,124,50,51,141,58,132,60,38,16,94,134,100,68,28,149,72,126],wstring:[125,117],is_increas:[116,27],recurs:[0,1,3,4,95,9,10,11,12,13,15,17,18,123,22,25,26,28,8,30,31,33,34,35,37,39,40,16,42,43,44,45,47,48,50,51,52,54,55,56,57,58,59,60,61,63,64,65,71,67,68,69,66,72,74,76,77,78,29,80,81,82,83,84,85,86,88,90,91,92,93,94,97,98,99,100,101,104,105,107,108,110,111,112,113,114,116,106,119,120,121,122,124,126,127,128,70,134,131,132,38,135,138,139,141,143,144,146,147,148,149,151,152,153,154],insert:117,like:[135,96],specif:96,integ:[109,72,100,134],noth:[79,115,20,41],char_typ:[75,2,119,123,39,139,70,140,137,37,118,109,104,148,111,15,142],resiz:[62,118],page:49,www:49,homu:[82,62,136],twitter:49,linux:49,some:[111,94],back:[74,113,29,24,56,118],last1:[16,112,94,134,95,72,58,126],last2:[16,112,94,134,95,72,58,126],sizeof:[65,90],make_pair:[42,85],librari:[49,96],pos1:[98,118,23],length_error:[21,62,32],not_eof:[109,154],common_decai:90,overlap:53,mathemat:96,const_point:[74,9,144,24,56,118],nonempti:149,condit:[28,112,12,3,94,134,5,100,22,2,45,141,126,88,72,151,46,121,47,60,149],leftmost:[71,54,68],content:[48,0,40,147,97,49,99,25,64,101,26,31,120],refer:[113,69,4,146,42,44,29,106,24,118,81,110,122],ration:96,stoimax:117,index_tupl:96,repositori:49,lessthancompar:[5,71,54,68],sprout_assert_msg:[21,75,2,20,32,41,131,53,79,62,36,150,102,103,128,46,115,140,137,142],"throw":[135,21,62,136,20,32,41,146,115,44,79],comparison:[0,40,5,95,117,120,47,48,12,147,101,87,58,60,97,99,64,22,25,26,68,27,28,31,85],c_str:[89,118],most:[112,3,42,95,80,10,121,83,47,124,12,50,51,141,58,132,38,94,134,100,22,68,85,72,126],delim1:58,delim2:58,find_first_of:[94,118,27],includ:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,145,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,71,67,68,69,70,66,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,88,89,90,91,92,93,94,95,97,98,99,100,101,102,103,104,105,107,108,110,111,112,113,114,115,116,106,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,146,147,148,149,150,151,152,153,154],constructor:118,string_to_int:117,search_n:[100,27],any_of:[10,27],clamp:[5,27],"float":5,fill_n:[131,128],forwarditer:[28,92,12,13,34,42,100,116,22,85,149,114,11,47,60],cstdlib:96,u16str:[117,7],xpo:88,support:[49,117,96,54,71,87,68],transform:58,out_of_rang:[135,21,136,146,44],start:49,compliant:96,interfac:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,127,128,129,130,131,132,133,134,135,136,137,126,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154],low:5,strictli:[34,114],const_reverse_iter:[143,1,76,63,86,78,24,118,57,67],lowest:88,form:[14,106,122,19],tupl:[6,117,19,96,14,106,87,73,122,153],is_sam:[125,19,14,129,7,23,36,133],link:49,heap:[66,127,27],inlin:[0,112,40,41,114,5,42,116,95,106,45,80,3,10,82,11,47,48,12,127,50,100,13,83,54,55,16,149,141,58,90,60,38,92,121,94,20,97,134,99,51,120,64,22,101,71,124,25,26,122,68,28,65,132,31,33,34,147,85,66,72,151,153,126],"true":[0,40,16,95,80,120,83,10,48,139,50,147,70,47,101,132,38,17,97,99,64,124,25,26,105,31,51,111,126],longer:[95,58],count:[151,45,100,27],concaten:[82,117],wise:[79,115],possibl:88,"default":[135,118],mado:82,maximum:27,is_decreas:[92,27],below:[16,112,126],extractor:117,to_char_typ:[109,37,148],otherwis:[0,40,16,5,42,95,80,10,11,120,48,50,147,83,135,70,101,58,132,38,17,97,99,64,88,66,124,25,26,68,105,31,51,72,111,126],constant:[119,74,1,76,4,6,78,43,44,8,106,9,93,81,82,52,84,135,113,142,128,122,15,77,56,57,90,59,91,37,17,18,123,63,131,143,86,65,24,118,138,67,104,105,29,30,69,33,144,35,107,148,146,152,61,108,73,110,39,154],sub_arrai:96,"int":[0,2,3,5,6,8,9,10,11,12,13,14,18,20,22,23,25,28,21,32,33,34,36,37,38,41,42,43,44,45,46,47,48,50,51,52,53,54,57,58,60,62,65,71,67,68,69,66,72,75,76,78,79,80,81,83,85,91,92,93,94,95,97,131,99,100,102,103,104,105,108,109,111,112,113,114,115,116,118,120,121,122,124,127,128,130,98,132,134,16,137,138,140,141,142,144,148,149,150,151,153,126],to_arrai:[87,33],matafunct:[117,87],"char":[75,2,119,46,123,135,139,142,15,53,70,59,133,93,19,137,104,140,39,148,37,109,111,154],incomplet:[88,98],decreas:[34,92],file:49,adjac:149,pit:96,constinputiter:[139,53,70,109,46,111],denot:[16,112,126],copyconstruct:[71,54,68],floor:42,pos2:[98,118],hpp:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154],when:[68,62,54,71,70],other:[49,115,95,149,118,58],bool:[0,40,92,114,116,95,80,118,119,10,83,47,48,127,50,13,16,101,132,38,17,93,97,99,51,120,64,24,124,25,26,105,31,34,39,147,109,126],trait:[135,117,82,40,19,145,147,106,98,41,64,21,55,118,101,102,26,88,31,73,89],shrink:117,repeat:135,sequenc:[79,96,134,100,95,72,58,27],stoull:117,max_siz:[30,18,118,32,21,24,62],outputiter:[109,53,46,140],to_u32str:117,concat:82,eof:[109,59,154],algorithm:[112,3,16,114,5,42,116,95,45,80,10,121,11,47,124,49,12,127,50,13,83,54,149,141,87,58,132,60,38,92,94,96,134,100,22,71,68,27,28,117,34,51,85,66,72,151,126],reverse_iter:[143,86,24,118,57,67],directori:49,descript:[49,117,130,145,24,118,87,109],to_str:117,depth:[0,1,3,4,95,9,10,11,12,13,15,17,18,123,22,25,26,28,8,30,31,33,34,35,37,39,40,16,42,43,44,45,47,48,50,51,52,54,55,56,57,58,59,60,61,63,64,65,71,67,68,69,66,72,74,76,77,78,29,80,81,82,83,84,85,86,88,90,91,92,93,94,97,98,99,100,101,104,105,107,108,110,111,112,113,114,116,106,119,120,121,122,124,126,127,128,70,134,131,132,38,135,138,139,141,143,144,146,147,148,149,151,152,153,154],time:96,convert:[100,148,24,37,118,138,89]},objtypes:{},titles:["operator<","crbegin","copy","find_if","front","clamp","std::tuple_size","u16string","begin","data","any_of","is_sorted_until","lower_bound","is_sorted","std::tuple_element","length","is_permutation","empty","max_size","std::tuple_element","swap","assign","upper_bound","compare","array","operator>","operator!=","Sprout.Algorithm","min_element","back","max_size","operator>","assign","to_array","is_strictly_decreasing","size","operator=","to_char_type","one_of_equal","lt","operator<","swap","minmax_element","size","at","count_if","copy","binary_search","operator!=","Sprout C++ Libraries","any_of_equal","all_of","cend","move","min","hash_value","back","rend","tristate_lexicographical_compare","eof","max_element","begin","resize","crend","operator>=","make_array","is_heap_until","rbegin","minmax","operator[]","find","max","search","std::tuple_size","back","assign","crend","end","crbegin","swap","one_of","front","operator+","none_of_equal","length","equal_range","rbegin","Sprout.Array","find","operator std::basic_string","make_common_array","end","is_decreasing","eq_int_type","find_first_of","lexicographical_compare","Libraries","operator>=","compare","operator<=","search_n","operator==","operator=","operator=","compare","empty","tuple_get","cbegin","cbegin","char_traits","operator[]","compare","mismatch","back","is_strictly_increasing","swap","is_increasing","Sprout.String","basic_string","eq","operator==","find","tuple_get","find","all_of_equal","wstring","equal","is_heap","assign","u32string","std::hash","fill","none_of","string","find_end","basic_string","substr","move","(initializer)","length","assign","find_if_not","assign","rend","c_array","std::hash","at","operator<=","to_int_type","adjacent_find","clear","count","cbegin","hash_value","not_eof"],objnames:{},filenames:["libs/array/array/operator-less","libs/string/basic_string/crbegin","libs/string/char_traits/copy","libs/algorithm/find_if","libs/string/basic_string/front","libs/algorithm/clamp","libs/array/array/std-tuple_size","libs/string/u16string","libs/array/array/begin","libs/array/array/data","libs/algorithm/any_of","libs/algorithm/is_sorted_until","libs/algorithm/lower_bound","libs/algorithm/is_sorted","libs/array/array/std-tuple_element","libs/string/char_traits/length","libs/algorithm/is_permutation","libs/string/basic_string/empty","libs/array/array/max_size","libs/string/basic_string/std-tuple_element","libs/array/array/swap-global","libs/string/basic_string/assign","libs/algorithm/upper_bound","libs/string/basic_string/compare-iterator","libs/array/array/index","libs/array/array/operator-greater","libs/string/basic_string/operator-not_equal_to","libs/algorithm/index","libs/algorithm/min_element","libs/string/basic_string/back","libs/string/basic_string/max_size","libs/string/basic_string/operator-greater","libs/string/basic_string/assign-iterator","libs/array/to_array","libs/algorithm/is_strictly_decreasing","libs/string/basic_string/size","libs/string/basic_string/operator-assign-iterator","libs/string/char_traits/to_char_type","libs/algorithm/one_of_equal","libs/string/char_traits/lt","libs/string/basic_string/operator-less","libs/string/basic_string/swap-global","libs/algorithm/minmax_element","libs/array/array/size","libs/array/array/at","libs/algorithm/count_if","libs/string/char_traits/copy-iterator","libs/algorithm/binary_search","libs/array/array/operator-not_equal_to","index","libs/algorithm/any_of_equal","libs/algorithm/all_of","libs/array/array/cend","libs/string/char_traits/move-iterator","libs/algorithm/min","libs/string/basic_string/hash_value","libs/string/basic_string/c_array","libs/array/array/rend","libs/algorithm/tristate_lexicographical_compare","libs/string/char_traits/eof","libs/algorithm/max_element","libs/string/basic_string/begin","libs/string/basic_string/resize","libs/string/basic_string/crend","libs/string/basic_string/operator-greater_equal","libs/array/make_array","libs/algorithm/is_heap_until","libs/array/array/rbegin","libs/algorithm/minmax","libs/array/array/operator-subscript","libs/string/char_traits/find-iterator","libs/algorithm/max","libs/algorithm/search","libs/string/basic_string/std-tuple_size","libs/string/basic_string/data","libs/string/char_traits/assign-string","libs/array/array/crend","libs/string/basic_string/end","libs/array/array/crbegin","libs/string/basic_string/swap","libs/algorithm/one_of","libs/array/array/front","libs/string/basic_string/operator-plus","libs/algorithm/none_of_equal","libs/string/basic_string/length","libs/algorithm/equal_range","libs/string/basic_string/rbegin","libs/array/index","libs/string/basic_string/find","libs/string/basic_string/operator-std-basic_string","libs/array/make_common_array","libs/array/array/end","libs/algorithm/is_decreasing","libs/string/char_traits/eq_int_type","libs/algorithm/find_first_of","libs/algorithm/lexicographical_compare","libs/index","libs/array/array/operator-greater_equal","libs/string/basic_string/compare","libs/array/array/operator-less_equal","libs/algorithm/search_n","libs/string/basic_string/operator-equal_to","libs/string/basic_string/operator-assign","libs/array/array/operator-assign","libs/string/char_traits/compare","libs/array/array/empty","libs/string/basic_string/tuple_get","libs/string/basic_string/cbegin","libs/array/array/cbegin","libs/string/char_traits/index","libs/string/basic_string/operator-subscript","libs/string/char_traits/compare-iterator","libs/algorithm/mismatch","libs/array/array/back","libs/algorithm/is_strictly_increasing","libs/array/array/swap","libs/algorithm/is_increasing","libs/string/index","libs/string/basic_string/index","libs/string/char_traits/eq","libs/array/array/operator-equal_to","libs/algorithm/find","libs/array/array/tuple_get","libs/string/char_traits/find","libs/algorithm/all_of_equal","libs/string/wstring","libs/algorithm/equal","libs/algorithm/is_heap","libs/array/array/assign","libs/string/u32string","libs/array/array/std-hash","libs/array/array/fill","libs/algorithm/none_of","libs/string/string","libs/algorithm/find_end","libs/string/basic_string/constructor-","libs/string/basic_string/substr","libs/string/char_traits/move","libs/array/array/initializer-","libs/string/char_traits/length-iterator","libs/string/char_traits/assign-iterator","libs/algorithm/find_if_not","libs/string/char_traits/assign","libs/string/basic_string/rend","libs/array/array/c_array","libs/string/basic_string/std-hash","libs/string/basic_string/at","libs/string/basic_string/operator-less_equal","libs/string/char_traits/to_int_type","libs/algorithm/adjacent_find","libs/string/basic_string/clear","libs/algorithm/count","libs/string/basic_string/cend","libs/array/array/hash_value","libs/string/char_traits/not_eof"]}) \ No newline at end of file diff --git a/source/libs/array/array/assign.rst b/source/libs/array/array/assign.rst index 76f9e6f2..8a6eafec 100644 --- a/source/libs/array/array/assign.rst +++ b/source/libs/array/array/assign.rst @@ -30,8 +30,10 @@ Examples using namespace sprout; auto x = array{{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}; - x.assign(0); - SPROUT_ASSERT_MSG(x[0] == 0, "filled with 0."); + int main() { + x.assign(0); + SPROUT_ASSERT_MSG(x[0] == 0, "filled with 0."); + } .. sourcecode:: c++ diff --git a/source/libs/array/array/fill.rst b/source/libs/array/array/fill.rst index 15e16456..a6138e7a 100644 --- a/source/libs/array/array/fill.rst +++ b/source/libs/array/array/fill.rst @@ -30,8 +30,10 @@ Examples using namespace sprout; auto x = array{{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}; - x.fill(0); - SPROUT_ASSERT_MSG(x[0] == 0, "filled with 0."); + int main() { + x.fill(0); + SPROUT_ASSERT_MSG(x[0] == 0, "filled with 0."); + } .. sourcecode:: c++ diff --git a/source/libs/array/array/operator-assign.rst b/source/libs/array/array/operator-assign.rst index 5df7432f..9fddc980 100644 --- a/source/libs/array/array/operator-assign.rst +++ b/source/libs/array/array/operator-assign.rst @@ -35,8 +35,10 @@ Examples auto x = array{{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}; SPROUT_STATIC_CONSTEXPR auto y = array{{10, 9, 8, 7, 6, 5, 4, 3, 2, 1}}; - x = y; - SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + int main() { + x = y; + SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + } Header ======================================== diff --git a/source/libs/array/array/swap-global.rst b/source/libs/array/array/swap-global.rst index 418bb143..f4d6ed71 100644 --- a/source/libs/array/array/swap-global.rst +++ b/source/libs/array/array/swap-global.rst @@ -32,8 +32,10 @@ Examples auto x = array{{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}; auto y = array{{10, 9, 8, 7, 6, 5, 4, 3, 2, 1}}; - swap(x, y); - SPROUT_ASSERT_MSG(x[0] == 10 && y[0] == 1, "each element are swapped."); + int main() { + swap(x, y); + SPROUT_ASSERT_MSG(x[0] == 10 && y[0] == 1, "each element are swapped."); + } Complexity ======================================== diff --git a/source/libs/array/array/swap.rst b/source/libs/array/array/swap.rst index fb7518c8..693426a2 100644 --- a/source/libs/array/array/swap.rst +++ b/source/libs/array/array/swap.rst @@ -29,8 +29,10 @@ Examples auto x = array{{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}; auto y = array{{10, 9, 8, 7, 6, 5, 4, 3, 2, 1}}; - x.swap(y); - SPROUT_ASSERT_MSG(x[0] == 10 && y[0] == 1, "each element are swapped."); + int main() { + x.swap(y); + SPROUT_ASSERT_MSG(x[0] == 10 && y[0] == 1, "each element are swapped."); + } Complexity ======================================== diff --git a/source/libs/string/basic_string/assign-iterator.rst b/source/libs/string/basic_string/assign-iterator.rst index 5406b47d..87f8c619 100644 --- a/source/libs/string/basic_string/assign-iterator.rst +++ b/source/libs/string/basic_string/assign-iterator.rst @@ -40,8 +40,10 @@ Examples auto x = string<8>("homuhomu"); SPROUT_STATIC_CONSTEXPR auto y = string<8>("madocchi"); - x.assign(y.begin(), 8); - SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + int main() { + x.assign(y.begin(), 8); + SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + } ---- diff --git a/source/libs/string/basic_string/assign.rst b/source/libs/string/basic_string/assign.rst index 7cc59a8a..198f7d2b 100644 --- a/source/libs/string/basic_string/assign.rst +++ b/source/libs/string/basic_string/assign.rst @@ -30,8 +30,10 @@ Examples auto x = string<8>("homuhomu"); SPROUT_STATIC_CONSTEXPR auto y = string<8>("madocchi"); - x.assign(y); - SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + int main() { + x.assign(y); + SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + } ---- diff --git a/source/libs/string/basic_string/clear.rst b/source/libs/string/basic_string/clear.rst index c8dea92a..46f131f9 100644 --- a/source/libs/string/basic_string/clear.rst +++ b/source/libs/string/basic_string/clear.rst @@ -23,8 +23,10 @@ Examples using namespace sprout; auto x = string<8>("homuhomu"); - x.clear(); - SPROUT_ASSERT_MSG(x.size() == 0 && x == "", "string is cleared."); + int main() { + x.clear(); + SPROUT_ASSERT_MSG(x.size() == 0 && x == "", "string is cleared."); + } Header ======================================== diff --git a/source/libs/string/basic_string/compare-iterator.rst b/source/libs/string/basic_string/compare-iterator.rst new file mode 100644 index 00000000..b6d0267f --- /dev/null +++ b/source/libs/string/basic_string/compare-iterator.rst @@ -0,0 +1,66 @@ +.. _sprout-string-basic_string-compare-iterator: +############################################################################### +compare +############################################################################### + +Interface +======================================== +.. sourcecode:: c++ + + template + SPROUT_CONSTEXPR int compare(StringConstIterator s) const; + +Requires +======================================== + +| ``std::is_same::value || std::is_same::value``. + +Returns +======================================== + +| ``compare(basic_string(s))``. + +---- + +Interface +======================================== +.. sourcecode:: c++ + + template + SPROUT_CONSTEXPR int compare(size_type pos1, size_type n1, StringConstIterator s) const; + +Requires +======================================== + +| ``std::is_same::value || std::is_same::value``. + +Returns +======================================== + +| ``basic_string(*this, pos, n1).compare(basic_string(s))``. + +---- + +Interface +======================================== +.. sourcecode:: c++ + + template + SPROUT_CONSTEXPR int compare(size_type pos1, size_type n1, StringConstIterator s, size_type n2) const; + +Requires +======================================== + +| ``std::is_same::value || std::is_same::value``. + +Returns +======================================== + +| ``basic_string(*this, pos, n1).compare(basic_string(s, n2))``. + +Header +======================================== + +| ``sprout/string/string.hpp`` +| Convenience header: ``sprout/string.hpp`` + diff --git a/source/libs/string/basic_string/compare.rst b/source/libs/string/basic_string/compare.rst new file mode 100644 index 00000000..b7ecfa62 --- /dev/null +++ b/source/libs/string/basic_string/compare.rst @@ -0,0 +1,111 @@ +.. _sprout-string-basic_string-compare: +############################################################################### +compare +############################################################################### + +Interface +======================================== +.. sourcecode:: c++ + + template + SPROUT_CONSTEXPR int compare(basic_string const& str) const; + +Effects +======================================== + +| Determines the effective length rlen of the strings to compare as the smallest of ``size()`` and ``str.size()``. +| The function then compares the two strings by calling ``traits_type::compare(data(), str.data(), rlen)``. + +Examples +======================================== +.. sourcecode:: c++ + + #include + using namespace sprout; + + SPROUT_STATIC_CONSTEXPR auto x = string<8>("homuhomu"); + SPROUT_STATIC_CONSTEXPR auto y = string<8>("madocchi"); + SPROUT_STATIC_CONSTEXPR auto result = x.compare(y); + static_assert(result < 0, "x is less than y."); + +Complexity +======================================== + +| Recursive function invocations in *O(logN)* (logarithmic) depth. + +.. note:: + The current implementation is incomplete. *O(N)* (linear) depth. + +---- + +Interface +======================================== +.. sourcecode:: c++ + + template + SPROUT_CONSTEXPR int compare(size_type pos1, size_type n1, basic_string const& str) const; + +Returns +======================================== + +| ``basic_string(*this, pos1, n1).compare(str)``. + +---- + +Interface +======================================== +.. sourcecode:: c++ + + template + SPROUT_CONSTEXPR int compare(size_type pos1, size_type n1, basic_string const& str, size_type pos2, size_type n2) const; + +Returns +======================================== + +| ``basic_string(*this, pos1, n1).compare(basic_string(str, pos2, n2))``. + +---- + +Interface +======================================== +.. sourcecode:: c++ + + SPROUT_CONSTEXPR int compare(value_type const* s) const; + +Returns +======================================== + +| ``compare(basic_string(s))``. + +---- + +Interface +======================================== +.. sourcecode:: c++ + + SPROUT_CONSTEXPR int compare(size_type pos1, size_type n1, value_type const* s) const; + +Returns +======================================== + +| ``basic_string(*this, pos, n1).compare(basic_string(s))``. + +---- + +Interface +======================================== +.. sourcecode:: c++ + + SPROUT_CONSTEXPR int compare(size_type pos1, size_type n1, value_type const* s, size_type n2) const; + +Returns +======================================== + +| ``basic_string(*this, pos, n1).compare(basic_string(s, n2))``. + +Header +======================================== + +| ``sprout/string/string.hpp`` +| Convenience header: ``sprout/string.hpp`` + diff --git a/source/libs/string/basic_string/find.rst b/source/libs/string/basic_string/find.rst new file mode 100644 index 00000000..d635e9e1 --- /dev/null +++ b/source/libs/string/basic_string/find.rst @@ -0,0 +1,94 @@ +.. _sprout-string-basic_string-find: +############################################################################### +find +############################################################################### + +Interface +======================================== +.. sourcecode:: c++ + + template + SPROUT_CONSTEXPR size_type find(basic_string const& str, size_type pos = 0) const SPROUT_NOEXCEPT; + +Effects +======================================== + +| Determines the lowest position xpos, if possible, such that both of the following conditions obtain: + +* ``pos <= xpos and xpos + str.size() <= size();`` +* ``traits_type::eq(at(xpos + I), str.at(I))`` for all elements I of the string controlled by str. + +Returns +======================================== + +| xpos if the function can determine such a value for xpos. Otherwise, returns npos. + +Remarks +======================================== + +| Uses ``traits_type::eq()``. + +Examples +======================================== +.. sourcecode:: c++ + + #include + using namespace sprout; + + SPROUT_STATIC_CONSTEXPR auto input = string<8>("madocchi"); + SPROUT_STATIC_CONSTEXPR auto result = input.find("cchi"); + static_assert(result == 4, "a found position is 4."); + +Complexity +======================================== + +| Recursive function invocations in *O(logN)* (logarithmic) depth. + +.. note:: + The current implementation is incomplete. *O(N)* (linear) depth. + +---- + +Interface +======================================== +.. sourcecode:: c++ + + SPROUT_CONSTEXPR size_type find(value_type const* s, size_type pos, size_type n) const; + +Returns +======================================== + +| + +---- + +Interface +======================================== +.. sourcecode:: c++ + + SPROUT_CONSTEXPR size_type find(value_type const* s, size_type pos = 0) const; + +Returns +======================================== + +| + +---- + +Interface +======================================== +.. sourcecode:: c++ + + SPROUT_CONSTEXPR size_type find(value_type c, size_type pos = 0) const; + +Returns +======================================== + +| + +Header +======================================== + +| ``sprout/string/string.hpp`` +| Convenience header: ``sprout/string.hpp`` + diff --git a/source/libs/string/basic_string/operator-assign-iterator.rst b/source/libs/string/basic_string/operator-assign-iterator.rst index dc4049ba..f770b243 100644 --- a/source/libs/string/basic_string/operator-assign-iterator.rst +++ b/source/libs/string/basic_string/operator-assign-iterator.rst @@ -35,8 +35,10 @@ Examples auto x = string<8>("homuhomu"); SPROUT_STATIC_CONSTEXPR auto y = string<8>("madocchi"); - x = y.begin(); - SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + int main() { + x = y.begin(); + SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + } Header ======================================== diff --git a/source/libs/string/basic_string/operator-assign.rst b/source/libs/string/basic_string/operator-assign.rst index 43d1e505..f70364f4 100644 --- a/source/libs/string/basic_string/operator-assign.rst +++ b/source/libs/string/basic_string/operator-assign.rst @@ -34,8 +34,10 @@ Examples auto x = string<8>("homuhomu"); SPROUT_STATIC_CONSTEXPR auto y = string<8>("madocchi"); - x = y; - SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + int main() { + x = y; + SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + } ---- diff --git a/source/libs/string/basic_string/resize.rst b/source/libs/string/basic_string/resize.rst index b7530ce7..11b8cf6f 100644 --- a/source/libs/string/basic_string/resize.rst +++ b/source/libs/string/basic_string/resize.rst @@ -39,8 +39,10 @@ Examples using namespace sprout; auto x = string<8>("homuhomu"); - x.resize(4); - SPROUT_ASSERT_MSG(x.size() == 4 && x == "homu", "string is resized to 4."); + int main() { + x.resize(4); + SPROUT_ASSERT_MSG(x.size() == 4 && x == "homu", "string is resized to 4."); + } Header ======================================== diff --git a/source/libs/string/basic_string/std-tuple_size.rst b/source/libs/string/basic_string/std-tuple_size.rst index 8fb06baf..371c5ee8 100644 --- a/source/libs/string/basic_string/std-tuple_size.rst +++ b/source/libs/string/basic_string/std-tuple_size.rst @@ -33,8 +33,8 @@ Examples using namespace sprout; using type = string<8>; - SPROUT_STATIC_CONSTEXPR auto size = std::tuple_size::value; - static_assert(size == 8, "tuple size of string is 8."); + SPROUT_STATIC_CONSTEXPR auto n = std::tuple_size::value; + static_assert(n == 8, "tuple size of string is 8."); Header ======================================== diff --git a/source/libs/string/basic_string/swap-global.rst b/source/libs/string/basic_string/swap-global.rst index 16bb94b6..628dd868 100644 --- a/source/libs/string/basic_string/swap-global.rst +++ b/source/libs/string/basic_string/swap-global.rst @@ -32,8 +32,10 @@ Examples auto x = string<8>("homuhomu"); auto y = string<8>("madocchi"); - swap(x, y); - SPROUT_ASSERT_MSG(x == "madocchi" && y == "homuhomu", "each element are swapped."); + int main() { + swap(x, y); + SPROUT_ASSERT_MSG(x == "madocchi" && y == "homuhomu", "each element are swapped."); + } Complexity ======================================== diff --git a/source/libs/string/basic_string/swap.rst b/source/libs/string/basic_string/swap.rst index a95ddac1..2aefb188 100644 --- a/source/libs/string/basic_string/swap.rst +++ b/source/libs/string/basic_string/swap.rst @@ -29,8 +29,10 @@ Examples auto x = string<8>("homuhomu"); auto y = string<8>("madocchi"); - swap(x, y); - SPROUT_ASSERT_MSG(x == "madocchi" && y == "homuhomu", "each element are swapped."); + int main() { + swap(x, y); + SPROUT_ASSERT_MSG(x == "madocchi" && y == "homuhomu", "each element are swapped."); + } Complexity ======================================== diff --git a/source/libs/string/char_traits/assign-iterator.rst b/source/libs/string/char_traits/assign-iterator.rst index 0d09e506..c2e0f9e1 100644 --- a/source/libs/string/char_traits/assign-iterator.rst +++ b/source/libs/string/char_traits/assign-iterator.rst @@ -24,8 +24,10 @@ Examples using namespace sprout; auto x = string<8>("homuhomu");; - char_traits::assign(x.begin(), 8, 'M'); - SPROUT_ASSERT_MSG(x[0] == 'M', "x is filled by M."); + int main() { + char_traits::assign(x.begin(), 8, 'M'); + SPROUT_ASSERT_MSG(x[0] == 'M', "x is filled by M."); + } Complexity ======================================== diff --git a/source/libs/string/char_traits/assign-string.rst b/source/libs/string/char_traits/assign-string.rst index ed0cec18..ca84a5f5 100644 --- a/source/libs/string/char_traits/assign-string.rst +++ b/source/libs/string/char_traits/assign-string.rst @@ -23,8 +23,10 @@ Examples using namespace sprout; char x[] = "homuhomu"; - char_traits::assign(x, 8, 'M'); - SPROUT_ASSERT_MSG(x[0] == 'M', "x is filled by M."); + int main() { + char_traits::assign(x, 8, 'M'); + SPROUT_ASSERT_MSG(x[0] == 'M', "x is filled by M."); + } Complexity ======================================== diff --git a/source/libs/string/char_traits/assign.rst b/source/libs/string/char_traits/assign.rst index e5e33ee2..338c0969 100644 --- a/source/libs/string/char_traits/assign.rst +++ b/source/libs/string/char_traits/assign.rst @@ -24,8 +24,10 @@ Examples char x = 'H'; SPROUT_STATIC_CONSTEXPR char y = 'M'; - char_traits::assign(x, y); - SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + int main() { + char_traits::assign(x, y); + SPROUT_ASSERT_MSG(x == y, "y is assigned to x."); + } Complexity ======================================== diff --git a/source/libs/string/char_traits/copy-iterator.rst b/source/libs/string/char_traits/copy-iterator.rst index 05255790..f153619a 100644 --- a/source/libs/string/char_traits/copy-iterator.rst +++ b/source/libs/string/char_traits/copy-iterator.rst @@ -30,8 +30,10 @@ Examples auto x = string<8>("homuhomu");; SPROUT_STATIC_CONSTEXPR auto y = string<8>("madocchi"); - char_traits::copy(x.begin(), y.begin(), 8); - SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); + int main() { + char_traits::copy(x.begin(), y.begin(), 8); + SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); + } Complexity ======================================== diff --git a/source/libs/string/char_traits/copy.rst b/source/libs/string/char_traits/copy.rst index 801a4342..9b28545d 100644 --- a/source/libs/string/char_traits/copy.rst +++ b/source/libs/string/char_traits/copy.rst @@ -29,8 +29,10 @@ Examples char x[] = "homuhomu"; SPROUT_STATIC_CONSTEXPR char const* y = "madocchi"; - char_traits::copy(x, y, 8); - SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); + int main() { + char_traits::copy(x, y, 8); + SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); + } Complexity ======================================== diff --git a/source/libs/string/char_traits/move-iterator.rst b/source/libs/string/char_traits/move-iterator.rst index 1f9c0545..c5b8f701 100644 --- a/source/libs/string/char_traits/move-iterator.rst +++ b/source/libs/string/char_traits/move-iterator.rst @@ -26,8 +26,10 @@ Examples auto x = string<8>("homuhomu");; SPROUT_STATIC_CONSTEXPR auto y = string<8>("madocchi"); - char_traits::move(x.begin(), y.begin(), 8); - SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); + int main() { + char_traits::move(x.begin(), y.begin(), 8); + SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); + } Complexity ======================================== diff --git a/source/libs/string/char_traits/move.rst b/source/libs/string/char_traits/move.rst index 80a0fc7e..f56c95bf 100644 --- a/source/libs/string/char_traits/move.rst +++ b/source/libs/string/char_traits/move.rst @@ -24,8 +24,10 @@ Examples char x[] = "homuhomu"; SPROUT_STATIC_CONSTEXPR char const* y = "madocchi"; - char_traits::move(x, y, 8); - SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); + int main() { + char_traits::move(x, y, 8); + SPROUT_ASSERT_MSG(x[0] == y[0], "y is copied to x."); + } Complexity ========================================