mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-14 15:04:09 +00:00
add bitset operator=()
This commit is contained in:
parent
9c37deb7d7
commit
d386893a74
3 changed files with 60 additions and 6 deletions
|
@ -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)))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue