| Home | Libraries | People | FAQ | More

## Chapter 2. Boost.Align

### Glen Fernandes

Copyright © 2014, 2015 Glen Joseph Fernandes

Distributed under the Boost Software License, Version 1.0.

## Introduction

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 2.1. The Boost.Align Library

Component | Description
--- | ---
`align` | Pointer alignment function
`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 alignment verification function

Last revised: December 14, 2015 at 09:17:06 GMT |