1 //////////////////////////////////////////////////////////////////////////////
3 // (C) Copyright Ion Gaztanaga 2015-2015. Distributed under the Boost
4 // Software License, Version 1.0. (See accompanying file
5 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 // See http://www.boost.org/libs/container for documentation.
9 //////////////////////////////////////////////////////////////////////////////
11 #ifndef BOOST_CONTAINER_PMR_VECTOR_HPP
12 #define BOOST_CONTAINER_PMR_VECTOR_HPP
14 #if defined (_MSC_VER)
18 #include <boost/container/devector.hpp>
19 #include <boost/container/pmr/polymorphic_allocator.hpp>
25 #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES)
29 typename GrowthPolicy = growth_factor_60
31 using devector = boost::container::devector<T, GrowthPolicy, polymorphic_allocator<T> >;
35 //! A portable metafunction to obtain a vector
36 //! that uses a polymorphic allocator
39 typename GrowthPolicy = growth_factor_60
43 typedef boost::container::devector
44 < T, GrowthPolicy, polymorphic_allocator<T> > type;
48 } //namespace container {
51 #endif //BOOST_CONTAINER_PMR_VECTOR_HPP