template<typename StringConstIterator>
basic_string& assign(StringConstIterator s, size_type n);
#include <sprout/string.hpp>
#include <sprout/assert.hpp>
using namespace sprout;
auto x = string<8>("homuhomu");
SPROUT_STATIC_CONSTEXPR auto y = string<8>("madocchi");
int main() {
x.assign(y.begin(), 8);
SPROUT_ASSERT_MSG(x == y, "y is assigned to x.");
}
template<typename StringConstIterator>
basic_string& assign(StringConstIterator s);