1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

support for C++14: memcmp, memchr

This commit is contained in:
bolero-MURAKAMI 2013-06-27 00:36:17 +09:00
parent 4182fb3fea
commit e0ccfedaaa
8 changed files with 80 additions and 9 deletions

View file

@ -317,9 +317,7 @@ namespace sprout {
p = &(*p)->next;
}
}
SPROUT_CXX14_CONSTEXPR forward_clist(forward_clist&& x)
: fst(sprout::move(x.fst))
{}
SPROUT_CXX14_CONSTEXPR forward_clist(forward_clist&& x) = default;
SPROUT_CXX14_CONSTEXPR forward_clist& operator=(forward_clist&& x) {
fst = sprout::move(x.fst);
return *this;