My Project
|
This is a stand-alone version of boost::alignment::aligned_allocator from Boost 1.58. More...
#include <utility>
#include <memory>
#include <type_traits>
#include <cassert>
Go to the source code of this file.
Namespaces | |
namespace | Opm |
This file contains a set of helper functions used by VFPProd / VFPInj. | |
Functions | |
constexpr bool | Opm::detail::is_alignment (std::size_t value) noexcept |
void * | Opm::aligned_alloc (std::size_t alignment, std::size_t size) noexcept |
void | Opm::aligned_free (void *ptr) noexcept |
template<class T1 , class T2 , std::size_t Alignment> | |
bool | Opm::operator== (const aligned_allocator< T1, Alignment > &, const aligned_allocator< T2, Alignment > &) noexcept |
template<class T1 , class T2 , std::size_t Alignment> | |
bool | Opm::operator!= (const aligned_allocator< T1, Alignment > &, const aligned_allocator< T2, Alignment > &) noexcept |
This is a stand-alone version of boost::alignment::aligned_allocator from Boost 1.58.
The file has been modified to assume a C++-2011 compatible compiler on a POSIX operating system to remove the boost dependencies which the original version contained. The original copyright notice for this file is:
(c) 2014 Glen Joseph Fernandes glenjofe at gmail dot com Distributed under the Boost Software License, Version 1.0. http://boost.org/LICENSE_1_0.txt