ATLAS Offline Software
Classes | Namespaces | Variables
ArenaBlockAlignDetail.h File Reference

A dummy pad struct to put at the end of the ArenaBlock header to ensure the alignment of the elements. Plus some constexpr that we can static assert on. The block is page aligned ~ 4096 or so, what we want is to control the alignment of the elements, at least up to a reason ... More...

#include <cstddef>
Include dependency graph for ArenaBlockAlignDetail.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SG::ArenaBlockAlignDetail::padForAlign
 

Namespaces

 SG
 Forward declaration.
 
 SG::ArenaBlockAlignDetail
 

Variables

constexpr size_t SG::ArenaBlockAlignDetail::alignment = std::alignment_of<padForAlign>::value
 

Detailed Description

A dummy pad struct to put at the end of the ArenaBlock header to ensure the alignment of the elements. Plus some constexpr that we can static assert on. The block is page aligned ~ 4096 or so, what we want is to control the alignment of the elements, at least up to a reason ...

Author
C. anastopoulos with help from scott snyder
Date
July 2023

Definition in file ArenaBlockAlignDetail.h.