BashSpark
Loading...
Searching...
No Matches
bs::math_parser::depth_guard Struct Reference

Manages depth of a math_parser instance during its lifetime. More...

Public Member Functions

 depth_guard (math_parser *pParser)
 Increases the parser's depth.
 
 ~depth_guard ()
 Decreases the parser's depth upon destruction.
 

Detailed Description

Manages depth of a math_parser instance during its lifetime.

Automatically increases depth upon creation and decreases it upon destruction.

Constructor & Destructor Documentation

◆ depth_guard()

bs::math_parser::depth_guard::depth_guard ( math_parser pParser)
inlineexplicit

Increases the parser's depth.

Parameters
pParserPointer to the math_parser instance.

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