Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2014. The current version is 1.90.0.
Table of Contents
This library provides function align for implementations
which do not have the C++11 standard library std::align function
available.
It provides allocation and deallocation functions, aligned_alloc
and aligned_free, as their functionality is
not yet available in the C++ standard library. They use platform specific functions,
if available, or use standard library functions in conjunction with align.
It provides C++ allocators, class templates aligned_allocator
and aligned_allocator_adaptor, which respect
alignment. The first uses aligned_alloc
and aligned_free while the
second uses the allocator in conjunction with align.
It provides a deleter, class aligned_delete,
which makes use of aligned_free.
It is suitable for use with constructed objects allocated with aligned_alloc.
It provides type trait alignment_of for implementations
without a conforming C++11 standard library std::alignment_of
type trait.
It also provides function is_aligned to test the alignment of a pointer.
Last revised: July 29, 2014 at 09:04:14 GMT |