Boost logo

Boost :

Subject: Re: [boost] [Modularization] new Memory module
From: Peter Dimov (lists_at_[hidden])
Date: 2014-06-10 06:41:26

Glen Fernandes wrote:

> In that case should I keep it within boost::alignment::detail:: ? --
> If it was effectively an alignment_of-equivalent, it could live within
> boost::alignment:: --

No, I would like it to not be an implementation detail. We want to use it in
smart_ptr. Let's follow the standard on references, then. It's not possible
to place a reference in aligned_storage, so there's no alternative use case.

Also, to be standard conforming,

template<class T> struct alignment_of<T[]>: alignment_of<T> {};

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