ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/contrib/libc++/include/memory
(Generate patch)

Comparing trunk/contrib/libc++/include/memory (file contents):
Revision 9678 by laffer1, Mon Feb 29 02:08:44 2016 UTC vs.
Revision 9679 by laffer1, Wed Dec 13 20:12:38 2017 UTC

# Line 1950 | Line 1950 | class __libcpp_compressed_pair_imp<_T1, _T2, 0> (publi
1950      typedef const typename remove_reference<_T1>::type& _T1_const_reference;
1951      typedef const typename remove_reference<_T2>::type& _T2_const_reference;
1952  
1953 <    _LIBCPP_INLINE_VISIBILITY __libcpp_compressed_pair_imp() {}
1953 >    _LIBCPP_INLINE_VISIBILITY __libcpp_compressed_pair_imp() : __first_(), __second_() {}
1954      _LIBCPP_INLINE_VISIBILITY explicit __libcpp_compressed_pair_imp(_T1_param __t1)
1955 <        : __first_(_VSTD::forward<_T1_param>(__t1)) {}
1955 >        : __first_(_VSTD::forward<_T1_param>(__t1)), __second_() {}
1956      _LIBCPP_INLINE_VISIBILITY explicit __libcpp_compressed_pair_imp(_T2_param __t2)
1957 <        : __second_(_VSTD::forward<_T2_param>(__t2)) {}
1957 >        : __first_(), __second_(_VSTD::forward<_T2_param>(__t2)) {}
1958      _LIBCPP_INLINE_VISIBILITY __libcpp_compressed_pair_imp(_T1_param __t1, _T2_param __t2)
1959          : __first_(_VSTD::forward<_T1_param>(__t1)), __second_(_VSTD::forward<_T2_param>(__t2)) {}
1960  
# Line 2043 | Line 2043 | class __libcpp_compressed_pair_imp<_T1, _T2, 1> (publi
2043      typedef const _T1&                                        _T1_const_reference;
2044      typedef const typename remove_reference<_T2>::type& _T2_const_reference;
2045  
2046 <    _LIBCPP_INLINE_VISIBILITY __libcpp_compressed_pair_imp() {}
2046 >    _LIBCPP_INLINE_VISIBILITY __libcpp_compressed_pair_imp() : __second_() {}
2047      _LIBCPP_INLINE_VISIBILITY explicit __libcpp_compressed_pair_imp(_T1_param __t1)
2048 <        : _T1(_VSTD::forward<_T1_param>(__t1)) {}
2048 >        : _T1(_VSTD::forward<_T1_param>(__t1)), __second_() {}
2049      _LIBCPP_INLINE_VISIBILITY explicit __libcpp_compressed_pair_imp(_T2_param __t2)
2050          : __second_(_VSTD::forward<_T2_param>(__t2)) {}
2051      _LIBCPP_INLINE_VISIBILITY __libcpp_compressed_pair_imp(_T1_param __t1, _T2_param __t2)
# Line 2133 | Line 2133 | class __libcpp_compressed_pair_imp<_T1, _T2, 2> (publi
2133      typedef const typename remove_reference<_T1>::type& _T1_const_reference;
2134      typedef const _T2&                                        _T2_const_reference;
2135  
2136 <    _LIBCPP_INLINE_VISIBILITY __libcpp_compressed_pair_imp() {}
2136 >    _LIBCPP_INLINE_VISIBILITY __libcpp_compressed_pair_imp() : __first_() {}
2137      _LIBCPP_INLINE_VISIBILITY explicit __libcpp_compressed_pair_imp(_T1_param __t1)
2138          : __first_(_VSTD::forward<_T1_param>(__t1)) {}
2139      _LIBCPP_INLINE_VISIBILITY explicit __libcpp_compressed_pair_imp(_T2_param __t2)
2140 <        : _T2(_VSTD::forward<_T2_param>(__t2)) {}
2140 >        : _T2(_VSTD::forward<_T2_param>(__t2)), __first_() {}
2141      _LIBCPP_INLINE_VISIBILITY __libcpp_compressed_pair_imp(_T1_param __t1, _T2_param __t2)
2142          _NOEXCEPT_(is_nothrow_move_constructible<_T1>::value &&
2143                     is_nothrow_move_constructible<_T2>::value)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines