REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
Loading...
Searching...
No Matches
real::detail::owned_name_context Struct Reference

The name-resolution context a result owns when it must outlive the regex it came from. More...

#include <storage.hpp>

Public Attributes

std::string pattern
 Owned copy of the pattern text.
 
std::vector< named_group > names
 Owned copy of the named-group table.
 

Detailed Description

The name-resolution context a result owns when it must outlive the regex it came from.

A result resolves a name against the pattern text and named-group table it borrows from its regex; one produced from an rvalue regex owns copies here instead, the borrow reading freed memory.


The documentation for this struct was generated from the following file: