proxygen
folly::DynamicParser::ParserStack::PopGuard Struct Reference

#include <DynamicParser.h>

Public Member Functions

 PopGuard (ParserStack *sp)
 
 ~PopGuard ()
 

Private Attributes

Optional< Poppop_
 

Detailed Description

Definition at line 339 of file DynamicParser.h.

Constructor & Destructor Documentation

folly::DynamicParser::ParserStack::PopGuard::PopGuard ( ParserStack sp)
inlineexplicit

Definition at line 340 of file DynamicParser.h.

340 : pop_(in_place, sp) {}
in_place_tag in_place(in_place_tag={})
Definition: Utility.h:235
folly::DynamicParser::ParserStack::PopGuard::~PopGuard ( )
inline

Definition at line 341 of file DynamicParser.h.

341  {
342  pop_ && ((*pop_)(), true);
343  }

Member Data Documentation

Optional<Pop> folly::DynamicParser::ParserStack::PopGuard::pop_
private

Definition at line 346 of file DynamicParser.h.


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