REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
Loading...
Searching...
No Matches
real::compat::detail::copied_subject< BidirIt > Struct Template Reference

What a regex_iterator over a non-contiguous range keeps for REAL: one copy of the range, shared by the iterator's copies, and the cursor mapping its offsets back. On the heap because the walker views it: a short string held by value would move its characters with the iterator. More...

#include <regex_iter.hpp>

Public Attributes

std::shared_ptr< const std::string > text
 The copy of [begin_, end_).
 
offset_cursor< BidirIt > at
 At the last offset mapped; never past the next match.
 

Detailed Description

template<typename BidirIt>
struct real::compat::detail::copied_subject< BidirIt >

What a regex_iterator over a non-contiguous range keeps for REAL: one copy of the range, shared by the iterator's copies, and the cursor mapping its offsets back. On the heap because the walker views it: a short string held by value would move its characters with the iterator.

Template Parameters
BidirItThe caller's iterator.

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