| Home | Libraries | People | FAQ | More

## Class template adaptive_pool_v1

boost::adaptive_pool_v1

## Synopsis

    // In header: <boost/interprocess/allocators/adaptive_pool.hpp>

    template<typename T, typename SegmentManager, std::size_t NodesPerBlock = 64,
             std::size_t MaxFreeBlocks = 2, unsigned char OverheadPercent = 5>
    class adaptive_pool_v1 : public adaptive_pool_base< 1, T, SegmentManager, NodesPerBlock, MaxFreeBlocks, OverheadPercent >
    {
    public:
      // types
      typedef unspecified base_t;

      // member classes/structs/unions
      template<typename T2>
      struct rebind {
        // types
        typedef adaptive_pool_v1< T2, SegmentManager, NodesPerBlock, MaxFreeBlocks, OverheadPercent > other;
      };

      // construct/copy/destruct
      adaptive_pool_v1(SegmentManager *);
      template<typename T2>
        adaptive_pool_v1(const adaptive_pool_v1< T2, SegmentManager, NodesPerBlock, MaxFreeBlocks, OverheadPercent > &);
    };

## Description

### `adaptive_pool_v1` public construct/copy/destruct

1.     adaptive_pool_v1(SegmentManager * segment_mngr);

2.     template<typename T2>
         adaptive_pool_v1(const adaptive_pool_v1< T2, SegmentManager, NodesPerBlock, MaxFreeBlocks, OverheadPercent > & other);