![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Provides macros for generating unique identifiers at compile time. More...
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | internal_macro_sham_CONCAT2(a, b) a##b |
| Utility to concatenate two tokens. | |
| #define | internal_macro_sham_EXPAND2(a, b) internal_macro_sham_CONCAT2(a, b) |
| Utility to expand a macro with two tokens. | |
| #define | __shamrock_unique_name(base_name) internal_macro_sham_EXPAND2(base_name, __LINE__) |
Provides macros for generating unique identifiers at compile time.
Definition in file unique_name_macro.hpp.
| #define __shamrock_unique_name | ( | base_name | ) | internal_macro_sham_EXPAND2(base_name, __LINE__) |
Definition at line 32 of file unique_name_macro.hpp.
| #define internal_macro_sham_CONCAT2 | ( | a, | |
| b | |||
| ) | a##b |
Utility to concatenate two tokens.
Definition at line 20 of file unique_name_macro.hpp.
| #define internal_macro_sham_EXPAND2 | ( | a, | |
| b | |||
| ) | internal_macro_sham_CONCAT2(a, b) |
Utility to expand a macro with two tokens.
Definition at line 22 of file unique_name_macro.hpp.