|
REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
|
A typed reference into a possessive-loop body's operand space. More...
Public Member Functions | |
| constexpr bool | armed () const noexcept |
| Whether this reference names anything at all. | |
Public Attributes | |
| class_kind | kind {class_kind::none} |
Which table REAL refers to; none means unarmed. | |
| std::uint16_t | index {} |
| classes[]/cp_classes[] index (kind == klass/klass_cp), or the literal byte value 0-255 (kind == byte). | |
Friends | |
| constexpr bool | operator== (const class_ref &, const class_ref &) noexcept=default |
| Equality, comparing kind first so two different tables' indices never collide. | |
A typed reference into a possessive-loop body's operand space.
Typed so equality compares kind before the index: with bare indices, index 0 of two different tables would compare equal and [abc].*+ match unconditionally.
|
inlineconstexprnoexcept |
Whether this reference names anything at all.
class_kind::none.