CPPuddle
Loading...
Searching...
No Matches
include
aligned_buffer_util.hpp
Go to the documentation of this file.
1
// Copyright (c) 2024 Gregor Daiß
2
//
3
// Distributed under the Boost Software License, Version 1.0. (See accompanying
4
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6
// DEPRECATED: Do not use this file
7
// Only intended to make the old interface work a bit longer.
8
// See deprecation warnings for the new location of the functionality
9
10
#ifndef ALIGNED_BUFFER_UTIL_HPP
11
#define ALIGNED_BUFFER_UTIL_HPP
12
13
#include "
cppuddle/memory_recycling/aligned_recycling_allocators.hpp
"
14
15
namespace
recycler
{
16
17
template
<
typename
T, std::size_t alignement,
18
std::enable_if_t<std::is_trivial<T>::value,
int
> = 0>
19
using
recycle_aligned
20
[[deprecated(
"Use from header aligned_recycling_allocators.hpp instead"
)]] =
21
cppuddle::memory_recycling::recycle_aligned<T, alignement>
;
22
23
template
<
typename
T, std::size_t alignement,
24
std::enable_if_t<std::is_trivial<T>::value,
int
> = 0>
25
using
aggressive_recycle_aligned
26
[[deprecated(
"Use from header aligned_recycling_allocators.hpp instead"
)]] =
27
cppuddle::memory_recycling::aggressive_recycle_aligned<T, alignement>
;
28
29
}
// namespace recycler
30
31
#endif
aligned_recycling_allocators.hpp
recycler
Deprecated LEGACY namespace. Kept around for compatiblity with old code for now.
Definition
aligned_buffer_util.hpp:15
cppuddle::memory_recycling::detail::aggressive_recycle_allocator
Recycles not only allocations but also the contents of a buffer.
Definition
buffer_management.hpp:840
cppuddle::memory_recycling::detail::recycle_allocator
Definition
buffer_management.hpp:770
Generated by
1.9.8