add doc: basic_astring operator=

This commit is contained in:
Bolero-MURAKAMI 2013-09-08 19:28:17 +09:00
parent 5af5e8c300
commit 5f453b10f6
9 changed files with 385 additions and 52 deletions

View file

@ -20,6 +20,19 @@ Returns
| ``*this``.
Examples
========================================
.. sourcecode:: c++
#include <sprout/string.hpp>
#include <sprout/assert.hpp>
using namespace sprout;
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.");
----
Interface
@ -137,19 +150,6 @@ Returns
| ``*this``.
Examples
========================================
.. sourcecode:: c++
#include <sprout/string.hpp>
#include <sprout/assert.hpp>
using namespace sprout;
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.");
Header
========================================