Boost logo

Boost :

Subject: Re: [boost] [config] [atomic] Problem with placement of BOOST_ALIGNMENT - requesting opinions/suggestions
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2017-02-27 16:01:35

On 02/27/17 17:07, Peter Dimov via Boost wrote:
> Groke, Paul wrote:
> ...
>> One way to fix this would obviously be to introduce two additional
> ...
>> Another option would be a BOOST_ALIGNED_VARIABLE(alignment,
>> variable_definition) macro.
> ...
>> The third option I can think of would be to leave things as they are,
>> which of course would mean that I can't submit my Boost.Atomic
>> implementation for z/OS... hm.
> The obvious fourth option is to just #ifdef here for z/OS.

BOOST_ALIGNMENT is used in quite a few places, including outside
Boost.Atomic. Adding preprocessor checks everywhere would be messy.

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