Index: include/queue =================================================================== --- include/queue +++ include/queue @@ -230,24 +230,6 @@ : c() {} _LIBCPP_INLINE_VISIBILITY - queue(const queue& __q) : c(__q.c) {} - - _LIBCPP_INLINE_VISIBILITY - queue& operator=(const queue& __q) {c = __q.c; return *this;} - -#ifndef _LIBCPP_CXX03_LANG - _LIBCPP_INLINE_VISIBILITY - queue(queue&& __q) - _NOEXCEPT_(is_nothrow_move_constructible::value) - : c(_VSTD::move(__q.c)) {} - - _LIBCPP_INLINE_VISIBILITY - queue& operator=(queue&& __q) - _NOEXCEPT_(is_nothrow_move_assignable::value) - {c = _VSTD::move(__q.c); return *this;} -#endif // _LIBCPP_CXX03_LANG - - _LIBCPP_INLINE_VISIBILITY explicit queue(const container_type& __c) : c(__c) {} #ifndef _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY @@ -447,27 +429,6 @@ : c(), comp() {} _LIBCPP_INLINE_VISIBILITY - priority_queue(const priority_queue& __q) : c(__q.c), comp(__q.comp) {} - - _LIBCPP_INLINE_VISIBILITY - priority_queue& operator=(const priority_queue& __q) - {c = __q.c; comp = __q.comp; return *this;} - -#ifndef _LIBCPP_CXX03_LANG - _LIBCPP_INLINE_VISIBILITY - priority_queue(priority_queue&& __q) - _NOEXCEPT_(is_nothrow_move_constructible::value && - is_nothrow_move_constructible::value) - : c(_VSTD::move(__q.c)), comp(_VSTD::move(__q.comp)) {} - - _LIBCPP_INLINE_VISIBILITY - priority_queue& operator=(priority_queue&& __q) - _NOEXCEPT_(is_nothrow_move_assignable::value && - is_nothrow_move_assignable::value) - {c = _VSTD::move(__q.c); comp = _VSTD::move(__q.comp); return *this;} -#endif // _LIBCPP_CXX03_LANG - - _LIBCPP_INLINE_VISIBILITY explicit priority_queue(const value_compare& __comp) : c(), comp(__comp) {} _LIBCPP_INLINE_VISIBILITY Index: include/stack =================================================================== --- include/stack +++ include/stack @@ -128,25 +128,8 @@ _NOEXCEPT_(is_nothrow_default_constructible::value) : c() {} - _LIBCPP_INLINE_VISIBILITY - stack(const stack& __q) : c(__q.c) {} - - _LIBCPP_INLINE_VISIBILITY - stack& operator=(const stack& __q) {c = __q.c; return *this;} - - #ifndef _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY - stack(stack&& __q) - _NOEXCEPT_(is_nothrow_move_constructible::value) - : c(_VSTD::move(__q.c)) {} - - _LIBCPP_INLINE_VISIBILITY - stack& operator=(stack&& __q) - _NOEXCEPT_(is_nothrow_move_assignable::value) - {c = _VSTD::move(__q.c); return *this;} - - _LIBCPP_INLINE_VISIBILITY explicit stack(container_type&& __c) : c(_VSTD::move(__c)) {} #endif // _LIBCPP_CXX03_LANG