proxygen
InheritsThrowingConstructor Struct Reference
Inheritance diagram for InheritsThrowingConstructor:
Validator ThrowingConstructor

Public Member Functions

 InheritsThrowingConstructor ()
 
- Public Member Functions inherited from Validator
 Validator (int expectedCount, const std::string &msg)
 
 ~Validator ()
 
void validate ()
 
- Public Member Functions inherited from ThrowingConstructor
 ThrowingConstructor () noexcept(false)
 

Detailed Description

Definition at line 148 of file UncaughtExceptionsTest.cpp.

Constructor & Destructor Documentation

InheritsThrowingConstructor::InheritsThrowingConstructor ( )
inline

Definition at line 150 of file UncaughtExceptionsTest.cpp.

References EXPECT_EQ, and folly::uncaught_exceptions().

151  : Validator(1, "one_exception_in_ctor_initializer_expression"),
153  } catch (...) {
154  // This is being re-thrown once the catch block ends, so I guess
155  // it's similar to a catch/throw; (re-throw) behavior and thus the value
156  // is 0.
158  }
Validator(int expectedCount, const std::string &msg)
#define EXPECT_EQ(val1, val2)
Definition: gtest.h:1922
int uncaught_exceptions() noexcept
ThrowingConstructor() noexcept(false)

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