diff options
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 |