Alias boost::container::pmr -> fair::mq::pmr

so the eventual switch to std::pmr becomes easier
This commit is contained in:
mkrzewic
2018-10-30 14:56:48 +01:00
committed by Dennis Klein
parent 34286ef75e
commit f9658f69a4
3 changed files with 6 additions and 5 deletions

View File

@@ -18,14 +18,14 @@
namespace fair {
namespace mq {
using BytePmrAllocator = boost::container::pmr::polymorphic_allocator<fair::mq::byte>;
using BytePmrAllocator = pmr::polymorphic_allocator<fair::mq::byte>;
//_________________________________________________________________________________________________
// return the message associated with the container or throw if it is not possible
template<typename ContainerT>
// typename std::enable_if<
// std::is_base_of<
// boost::container::pmr::polymorphic_allocator<typename
// pmr::polymorphic_allocator<typename
// ContainerT::value_type>,
// typename ContainerT::allocator_type>::value == true,
// FairMQMessagePtr>::type