add bitset operator=()

This commit is contained in:
bolero-MURAKAMI 2013-11-12 20:44:27 +09:00
parent 9c37deb7d7
commit d386893a74
3 changed files with 60 additions and 6 deletions

View file

@ -221,6 +221,9 @@ namespace sprout {
private:
holder_type val;
item_holder_type next;
private:
item& operator=(item const&) SPROUT_DELETED_FUNCTION_DECL
item& operator=(item&&) SPROUT_DELETED_FUNCTION_DECL
private:
item(item const&) = default;
SPROUT_CONSTEXPR item(typename holder_type::argument_type p, item_holder_type const& n)
@ -232,9 +235,6 @@ namespace sprout {
, next(n)
{}
item& operator=(item const&) = default;
item& operator=(item&&) = default;
SPROUT_CXX14_CONSTEXPR void swap(item& other)
SPROUT_NOEXCEPT_EXPR(SPROUT_NOEXCEPT_EXPR(sprout::swap(val, other.val)) && SPROUT_NOEXCEPT_EXPR(sprout::swap(next, other.next)))
{