$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] BOOST_NO_CXX11_CONSTEXPR and msvc-14.0
From: Glen Fernandes (glen.fernandes_at_[hidden])
Date: 2015-07-21 19:13:18
Stephan T. Lavavej wrote
> Not to my knowledge, and I maintain the thing. We're now implementing alignment_of with the compiler's alignof (instead of library machinery) and as far as I know, alignof returns perfect answers. If you have examples otherwise, I'd like to see them.
Only what was reported for the RC:
1. For x86 and x64: std::alignment_of<std::nullptr_t>::value is 1, yet
compiler aligns at 4
2. For x86: std::alignment_of<T Class::*>::value is 4, yet compiler aligns at 8
For x64: std::alignment_of<T Class::*>::value is 8, yet compiler aligns at 4
3. For x86: std::alignment_of<T (Class::*)()>::value is 4, yet
compiler aligns at 8
For x64: std::alignment_of<T (Class::*)()>::value is 8, yet
compiler aligns at 4
I haven't checked the RTM yet, but apparently VC12's std::alignment_of
for the relevant types reported the same value that the compiler chose
to align objects of those types.
Glen