|
REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
|
The set a thread keeps between leases, and the slot it returns to. More...
Public Member Functions | |
| cache (const cache &)=delete | |
| cache & | operator= (const cache &)=delete |
| cache (cache &&)=delete | |
| cache & | operator= (cache &&)=delete |
| void | give_back () |
| Returns the set to its slot's pool. | |
| ~cache () | |
| A thread's set outlives none of its uses: it goes back to its pool when the thread ends. | |
Public Attributes | |
| std::shared_ptr< shared_dfa_slot > | slot |
| The slot set came from. | |
| std::unique_ptr< shared_dfa_set > | set |
| This thread's set for that slot's regex. | |
| bool | busy {false} |
| A lease holds set. | |
The set a thread keeps between leases, and the slot it returns to.