build: tighten up some unneeded headers
This commit is contained in:
parent
46e1ac8e68
commit
7adf63413d
@ -17,9 +17,8 @@
|
||||
#ifndef __UTIL_ADAPTER_HPP
|
||||
#define __UTIL_ADAPTER_HPP
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cstddef>
|
||||
#include <iterator>
|
||||
#include <utility>
|
||||
#include <tuple>
|
||||
|
||||
namespace util { namespace adapter {
|
||||
|
@ -17,8 +17,7 @@
|
||||
#ifndef __UTIL_ALLOC_ALLOCATOR_HPP
|
||||
#define __UTIL_ALLOC_ALLOCATOR_HPP
|
||||
|
||||
#include <cstdlib>
|
||||
#include <utility>
|
||||
#include <cstddef>
|
||||
|
||||
// C++11 allocator concept conformant allocator adaptor, going from our
|
||||
// allocator interface to that of the STL and friends.
|
||||
@ -31,8 +30,8 @@ namespace util { namespace alloc {
|
||||
template <typename ...Args>
|
||||
allocator (Args&& ...args);
|
||||
|
||||
T* allocate (std::size_t count);
|
||||
void deallocate (T*, std::size_t count);
|
||||
T* allocate (size_t count);
|
||||
void deallocate (T*, size_t count);
|
||||
|
||||
private:
|
||||
B &m_backing;
|
||||
|
@ -21,6 +21,7 @@
|
||||
|
||||
#define __UTIL_ALLOC_ALLOCATOR_IPP
|
||||
|
||||
#include <utility>
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
template <class B, class T>
|
||||
|
@ -17,9 +17,10 @@
|
||||
#ifndef __UTIL_ALLOC_ARENA_HPP
|
||||
#define __UTIL_ALLOC_ARENA_HPP
|
||||
|
||||
#include <memory>
|
||||
#include "../memory/deleter.hpp"
|
||||
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
namespace util { namespace alloc {
|
||||
template <class T>
|
||||
|
@ -19,7 +19,6 @@
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
|
||||
namespace util { namespace alloc {
|
||||
// allocate progressively across a buffer without concern for deallocation.
|
||||
// deallocation is a noop; the only way to free allocations is via reset.
|
||||
|
Loading…
Reference in New Issue
Block a user