PR libstdc++/89416 fix accessibility of members

PR libstdc++/89416
	* include/bits/alloc_traits.h (__is_alloc_insertable_impl): Make
	copy and move members public.

From-SVN: r269175
This commit is contained in:
Jonathan Wakely 2019-02-24 15:44:18 +00:00 committed by Jonathan Wakely
parent 00c80d9c23
commit c7f01cb61d
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2019-02-24 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/89416
* include/bits/alloc_traits.h (__is_alloc_insertable_impl): Make
copy and move members public.
2019-02-23 Jonathan Wakely <jwakely@redhat.com>
* include/std/type_traits (__underlying_type_impl): New helper to

View File

@ -590,7 +590,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
static false_type
_M_select(...);
protected:
public:
template<typename _Alloc, typename _Tp = typename _Alloc::value_type>
using copy = decltype(_M_select<_Alloc, const _Tp&>(0));