Boost logo

Boost :

Subject: [boost] Review Request: Boost.Align
From: Glen Fernandes (glen.fernandes_at_[hidden])
Date: 2014-02-22 01:28:13

I'd like to request a formal review of Boost.Align

Description: Boost.Align is a tiny library that provides alignment
related utilities that several Boost libraries (Boost.Log,
Boost.Smart_Ptr, etc.) re-implement themselves.

Specifically it provides a function for pointer alignment
(boost::align, as many vendors do not provide the C++11 std::align),
functions for aligned allocation (boost::aligned_alloc, and boost::
aligned_free), and a class template for a C++ allocator that respects
type (or minimum) alignment (boost::aligned_ that can serve as a
replacement for std::allocator that works with over-aligned types).

Source code:


Satisfies following requirements for a fast-track review:
1. The component must be small.
2. The technique must be already in use in Boost libraries and the new
component provides a common implementation.
3. A full Boost-conformant implementation is available.


Boost list run by bdawes at, gregod at, cpdaniel at, john at