MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
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"
18
20
21template <typename T, size_t ALIGNMENT = 16>
22using AlignedMemory = std::vector<T, AlignedAllocator<T, ALIGNMENT>>;
23
25
26#endif /* UTIL_ALIGNED_MEMORY_HEADER */
std::vector< T, AlignedAllocator< T, ALIGNMENT > > AlignedMemory
#define UTIL_NAMESPACE_BEGIN
Definition defines.h:13
#define UTIL_NAMESPACE_END
Definition defines.h:14