Commit 881ca4c9 by Jonathan Wakely Committed by Jonathan Wakely

PR78326 fix incorrect access of data member in base class

	PR libstdc++/78326
	* include/experimental/memory_resource (memory_resource::_S_max_align):
	Change access to protected.

From-SVN: r242373
parent d1422b9d
2016-11-13 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/78326
* include/experimental/memory_resource (memory_resource::_S_max_align):
Change access to protected.
* doc/xml/manual/status_cxx2017.xml: Update status.
* doc/html/manual/status.html: Regenerate.
* include/bits/shared_ptr.h (shared_ptr(unique_ptr<_Yp, _Del>)): Add
......
......@@ -72,6 +72,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
// 8.5 Class memory_resource
class memory_resource
{
protected:
static constexpr size_t _S_max_align = alignof(max_align_t);
public:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment