ATLAS Offline Software
Macros
no_unique_address.h File Reference

Wrapper for C++20 no_unique_address attribute. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HAVE_NO_UNIQUE_ADDRESS   0
 
#define ATH_NO_UNIQUE_ADDRESS
 

Detailed Description

Wrapper for C++20 no_unique_address attribute.

Author
scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov
Date
Oct, 2023 This header provides a macro ATH_NO_UNIQUE_ADDRESS that provides the C++20 [[no_unique_address]] attribute if it is supported by the compiler.

(In practice, this attribute is supported by all our current compilers, even in c++17 mode, but to be safe, use this until we switch to c++20.)

Definition in file no_unique_address.h.

Macro Definition Documentation

◆ ATH_NO_UNIQUE_ADDRESS

#define ATH_NO_UNIQUE_ADDRESS

Definition at line 37 of file no_unique_address.h.

◆ HAVE_NO_UNIQUE_ADDRESS

#define HAVE_NO_UNIQUE_ADDRESS   0

Definition at line 31 of file no_unique_address.h.