// // Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // Official repository: https://github.com/boostorg/json // #ifndef BOOST_JSON_MEMORY_RESOURCE_HPP #define BOOST_JSON_MEMORY_RESOURCE_HPP #include #include #include #include namespace boost { namespace json { /** The type of memory resource used by the library. @note This alias is deprecated in favor of `boost::container::pmr::memory_resource`. It is included for backwards compatibility and shouldn't be used in new code. It will be removed completely in version 1.87.0. */ typedef boost::container::pmr::memory_resource BOOST_JSON_DEPRECATED("Use boost::container::pmr::memory_resource instead") memory_resource; /** The type of polymorphic allocator used by the library. @note This alias is deprecated in favor of `boost::container::pmr::polymorphic_allocator`. It is included for backwards compatibility and shouldn't be used in new code. It will be removed completely in version 1.87.0. */ template using polymorphic_allocator #ifndef BOOST_MSVC BOOST_JSON_DEPRECATED("Use boost::container::pmr::polymorphic_allocator instead") #endif = boost::container::pmr::polymorphic_allocator; } // namespace json } // namespace boost #endif