Ruby 3.4.5p51 (2025-07-16 revision 20cda200d3ce092571d0b5d342dadca69636cb0f)
|
RBIMPL_ATTR_CONSTEXPR. More...
Go to the source code of this file.
Macros | |
#define | RBIMPL_ATTR_CONSTEXPR(_) |
Wraps (or simulates) C++11 constexpr. | |
#define | RBIMPL_ATTR_CONSTEXPR_UNLESS_DEBUG(_) |
Enables RBIMPL_ATTR_CONSTEXPR if and only if. |
Definition in file constexpr.h.
#define RBIMPL_ATTR_CONSTEXPR | ( | _ | ) |
Wraps (or simulates) C++11 constexpr.
Definition at line 74 of file constexpr.h.
Referenced by RB_STATIC_SYM_P().
#define RBIMPL_ATTR_CONSTEXPR_UNLESS_DEBUG | ( | _ | ) |
Enables RBIMPL_ATTR_CONSTEXPR if and only if.
! RUBY_DEBUG.
Definition at line 79 of file constexpr.h.