hpx/pack_traversal/traits/pack_traversal_rebind_container.hpp

See Public API for a list of names and headers that are part of the public HPX API.

template<typename NewType, typename OldType, typename OldAllocator>
struct pack_traversal_rebind_container<NewType, std::vector<OldType, OldAllocator>>

Public Types

template<>
using NewAllocator = typename std::allocator_traits<OldAllocator>::template rebind_alloc<NewType>

Public Static Functions

static std::vector<NewType, NewAllocator> call(std::vector<OldType, OldAllocator> const &container)
template<typename NewType, typename OldType, typename OldAllocator>
struct pack_traversal_rebind_container<NewType, std::list<OldType, OldAllocator>>

Public Types

template<>
using NewAllocator = typename std::allocator_traits<OldAllocator>::template rebind_alloc<NewType>

Public Static Functions

static std::list<NewType, NewAllocator> call(std::list<OldType, OldAllocator> const &container)
template<typename NewType, typename OldType, std::size_t N>
struct pack_traversal_rebind_container<NewType, std::array<OldType, N>>

Public Static Functions

static std::array<NewType, N> call(std::array<OldType, N> const&)
namespace hpx
namespace traits
template<typename NewType, typename OldType, std::size_t N>
struct pack_traversal_rebind_container<NewType, std::array<OldType, N>>

Public Static Functions

static std::array<NewType, N> call(std::array<OldType, N> const&)
template<typename NewType, typename OldType, typename OldAllocator>
struct pack_traversal_rebind_container<NewType, std::list<OldType, OldAllocator>>

Public Types

template<>
using NewAllocator = typename std::allocator_traits<OldAllocator>::template rebind_alloc<NewType>

Public Static Functions

static std::list<NewType, NewAllocator> call(std::list<OldType, OldAllocator> const &container)
template<typename NewType, typename OldType, typename OldAllocator>
struct pack_traversal_rebind_container<NewType, std::vector<OldType, OldAllocator>>

Public Types

template<>
using NewAllocator = typename std::allocator_traits<OldAllocator>::template rebind_alloc<NewType>

Public Static Functions

static std::vector<NewType, NewAllocator> call(std::vector<OldType, OldAllocator> const &container)