RFR: 8274400: HotSpot Style Guide should permit use of alignof [v7]
Vladimir Kozlov
kvn at openjdk.org
Mon Feb 27 18:31:15 UTC 2023
On Tue, 24 Jan 2023 09:21:37 GMT, Julian Waters <jwaters at openjdk.org> wrote:
>> The alignof operator was added by C++11. It returns the alignment for the given type. Various metaprogramming usages exist, in particular when using std::aligned_storage. Use of this operator should be permitted in HotSpot code.
>
> Julian Waters has updated the pull request incrementally with one additional commit since the last revision:
>
> Oof
Approved.
-------------
Marked as reviewed by kvn (Reviewer).
PR: https://git.openjdk.org/jdk/pull/11761
More information about the hotspot-dev
mailing list