RFR: 8274400: HotSpot Style Guide should permit use of alignof [v7]

David Holmes dholmes at openjdk.org
Mon Feb 27 20:54:25 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

Marked as reviewed by dholmes (Reviewer).

-------------

PR: https://git.openjdk.org/jdk/pull/11761


More information about the hotspot-dev mailing list