diff --git a/include/memory b/include/memory index 2d9d75f99..bc5c4c653 100644 --- a/include/memory +++ b/include/memory @@ -4805,8 +4805,13 @@ inline _LIBCPP_INLINE_VISIBILITY bool operator<(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT { +#if _LIBCPP_STD_VER <= 11 typedef typename common_type<_Tp*, _Up*>::type _Vp; return less<_Vp>()(__x.get(), __y.get()); +#else + return less<>()(__x.get(), __y.get()); +#endif + } template diff --git a/www/cxx1z_status.html b/www/cxx1z_status.html index 84bfd2878..e4f624634 100644 --- a/www/cxx1z_status.html +++ b/www/cxx1z_status.html @@ -483,13 +483,13 @@ 2874Constructor shared_ptr::shared_ptr(Y*) should be constrainedKona 2875shared_ptr::shared_ptr(Y*, D, […]) constructors should be constrainedKona 2876shared_ptr::shared_ptr(const weak_ptr<Y>&) constructor should be constrainedKona - 2878Missing DefaultConstructible requirement for istream_iterator default constructorKona + 2878Missing DefaultConstructible requirement for istream_iterator default constructorKonaComplete 2890The definition of 'object state' applies only to class typesKonaComplete 2900The copy and move constructors of optional are not constexprKonaComplete 2903The form of initialization for the emplace-constructors is not specifiedKonaComplete 2904Make variant move-assignment more exception safeKonaComplete 2905is_constructible_v<unique_ptr<P, D>, P, D const &> should be false when D is not copy constructibleKonaComplete - 2908The less-than operator for shared pointers could do moreKona + 2908The less-than operator for shared pointers could do moreKonaComplete 2911An is_aggregate type trait is neededKonaComplete 2921packaged_task and type-erased allocatorsKonaComplete 2934optional<const T> doesn't compare with TKonaComplete @@ -504,7 +504,7 @@ -

Last Updated: 25-Jan-2018

+

Last Updated: 12-Feb-2018