os/ossrv/ossrv_pub/boost_apis/boost/pool/poolfwd.hpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
// Copyright (C) 2000, 2001 Stephen Cleary
sl@0
     2
//
sl@0
     3
// Distributed under the Boost Software License, Version 1.0. (See
sl@0
     4
// accompanying file LICENSE_1_0.txt or copy at
sl@0
     5
// http://www.boost.org/LICENSE_1_0.txt)
sl@0
     6
//
sl@0
     7
// See http://www.boost.org for updates, documentation, and revision history.
sl@0
     8
sl@0
     9
#ifndef BOOST_POOLFWD_HPP
sl@0
    10
#define BOOST_POOLFWD_HPP
sl@0
    11
sl@0
    12
#include <boost/config.hpp> // for workarounds
sl@0
    13
sl@0
    14
// std::size_t
sl@0
    15
#include <cstddef>
sl@0
    16
sl@0
    17
// boost::details::pool::default_mutex
sl@0
    18
#include <boost/pool/detail/mutex.hpp>
sl@0
    19
sl@0
    20
namespace boost {
sl@0
    21
sl@0
    22
//
sl@0
    23
// Location: <boost/pool/simple_segregated_storage.hpp>
sl@0
    24
//
sl@0
    25
template <typename SizeType = std::size_t>
sl@0
    26
class simple_segregated_storage;
sl@0
    27
sl@0
    28
//
sl@0
    29
// Location: <boost/pool/pool.hpp>
sl@0
    30
//
sl@0
    31
struct default_user_allocator_new_delete;
sl@0
    32
struct default_user_allocator_malloc_free;
sl@0
    33
sl@0
    34
template <typename UserAllocator = default_user_allocator_new_delete>
sl@0
    35
class pool;
sl@0
    36
sl@0
    37
//
sl@0
    38
// Location: <boost/pool/object_pool.hpp>
sl@0
    39
//
sl@0
    40
template <typename T, typename UserAllocator = default_user_allocator_new_delete>
sl@0
    41
class object_pool;
sl@0
    42
sl@0
    43
//
sl@0
    44
// Location: <boost/pool/singleton_pool.hpp>
sl@0
    45
//
sl@0
    46
template <typename Tag, unsigned RequestedSize,
sl@0
    47
    typename UserAllocator = default_user_allocator_new_delete,
sl@0
    48
    typename Mutex = details::pool::default_mutex,
sl@0
    49
    unsigned NextSize = 32>
sl@0
    50
struct singleton_pool;
sl@0
    51
sl@0
    52
//
sl@0
    53
// Location: <boost/pool/pool_alloc.hpp>
sl@0
    54
//
sl@0
    55
struct pool_allocator_tag;
sl@0
    56
sl@0
    57
template <typename T,
sl@0
    58
    typename UserAllocator = default_user_allocator_new_delete,
sl@0
    59
    typename Mutex = details::pool::default_mutex,
sl@0
    60
    unsigned NextSize = 32>
sl@0
    61
class pool_allocator;
sl@0
    62
sl@0
    63
struct fast_pool_allocator_tag;
sl@0
    64
sl@0
    65
template <typename T,
sl@0
    66
    typename UserAllocator = default_user_allocator_new_delete,
sl@0
    67
    typename Mutex = details::pool::default_mutex,
sl@0
    68
    unsigned NextSize = 32>
sl@0
    69
class fast_pool_allocator;
sl@0
    70
sl@0
    71
} // namespace boost
sl@0
    72
sl@0
    73
#endif