MVE - Multi-View Environment
mve-devel
Loading...
Searching...
No Matches
libs
util
aligned_memory.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2015, Benjamin Richter, Simon Fuhrmann
3
* TU Darmstadt - Graphics, Capture and Massively Parallel Computing
4
* All rights reserved.
5
*
6
* This software may be modified and distributed under the terms
7
* of the BSD 3-Clause license. See the LICENSE.txt file for details.
8
*/
9
10
#ifndef UTIL_ALIGNED_MEMORY_HEADER
11
#define UTIL_ALIGNED_MEMORY_HEADER
12
13
#include <cstdint>
14
#include <vector>
15
16
#include "
util/defines.h
"
17
#include "
util/aligned_allocator.h
"
18
19
UTIL_NAMESPACE_BEGIN
20
21
template
<
typename
T,
size_t
ALIGNMENT = 16>
22
using
AlignedMemory
= std::vector<T, AlignedAllocator<T, ALIGNMENT>>;
23
24
UTIL_NAMESPACE_END
25
26
#endif
/* UTIL_ALIGNED_MEMORY_HEADER */
aligned_allocator.h
util::AlignedMemory
std::vector< T, AlignedAllocator< T, ALIGNMENT > > AlignedMemory
Definition
aligned_memory.h:22
defines.h
UTIL_NAMESPACE_BEGIN
#define UTIL_NAMESPACE_BEGIN
Definition
defines.h:13
UTIL_NAMESPACE_END
#define UTIL_NAMESPACE_END
Definition
defines.h:14
Generated on Thu Dec 21 2023 01:53:38 for MVE - Multi-View Environment by
1.9.8