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 the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Chapter 4. Boost.Align

Glen Fernandes

Distributed under the Boost Software License, Version 1.0.

Table of Contents

Introduction
Rationale
Tutorial
align
aligned_alloc and aligned_free
aligned_allocator
aligned_allocator_adaptor
aligned_delete
alignment_of
assume_aligned
is_aligned
Examples
aligned_ptr and make_aligned
aligned_vector
Reference
align
align_down
align_up
aligned_alloc and aligned_free
aligned_allocator
aligned_allocator_adaptor
aligned_delete
alignment_of
assume_aligned
is_aligned
Vocabulary
Compatibility
Acknowledgments
History

This library provides an alignment function, aligned allocation and deallocation functions, an aligned allocator, an aligned allocator adaptor, an aligned deleter, a type trait to query alignment requirements, a macro to hint pointer alignment, and a function to verify pointer value alignment.

Table 4.1. The Boost.Align Library

Component

Description

align

Pointer alignment function

align_up, align_down

Pointer and integral alignment functions

aligned_alloc, aligned_free

Aligned allocation and deallocation functions

aligned_allocator

Alignment aware allocator

aligned_allocator_adaptor

Alignment aware allocator adaptor

aligned_delete

Deleter for deallocation of aligned allocations

alignment_of

Trait to query alignment requirement of a type

assume_aligned

Macro for static pointer alignment hint

is_aligned

Pointer and integral alignment checking


Last revised: December 22, 2016 at 12:37:16 GMT


PrevUpHomeNext