diff options
author | Jason Merrill <jason@redhat.com> | 2015-11-14 00:11:34 +0000 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2015-11-14 00:11:34 +0000 |
commit | 1da6b773e737548a7ffbfc950774460433ef9bb8 (patch) | |
tree | e5f2d64459601fae812cfe90245af2831eebedb1 /libstdc++-v3/include/experimental/list | |
parent | 4587dbe905c7599512c23af5b55591a06bf829b9 (diff) | |
parent | d77055b11cf7e121d66f2da7dfbc5f63347c7d7f (diff) |
Merge trunk@230365.c++-delayed-folding
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/c++-delayed-folding@230367 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/experimental/list')
-rw-r--r-- | libstdc++-v3/include/experimental/list | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libstdc++-v3/include/experimental/list b/libstdc++-v3/include/experimental/list index 41d6e1dcbdc..4209d0e9eb4 100644 --- a/libstdc++-v3/include/experimental/list +++ b/libstdc++-v3/include/experimental/list @@ -36,6 +36,7 @@ #else #include <list> +#include <experimental/memory_resource> namespace std _GLIBCXX_VISIBILITY(default) { @@ -59,6 +60,16 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION } _GLIBCXX_END_NAMESPACE_VERSION + +namespace pmr { +_GLIBCXX_BEGIN_NAMESPACE_VERSION + + template<typename _Tp> + using list = std::list<_Tp, polymorphic_allocator<_Tp>>; + +_GLIBCXX_END_NAMESPACE_VERSION +} // namespace pmr + } // namespace fundamentals_v2 } // namespace experimental } // namespace std |