Namespaces | |
| exceptions_internal | |
Classes | |
| class | ThrowingAllocator |
| class | ThrowingBool |
| class | ThrowingValue |
Enumerations | |
| enum | AllocSpec { AllocSpec::kEverythingThrows = 0, AllocSpec::kNoThrowAllocate = 1 } |
| enum | TypeSpec { TypeSpec::kEverythingThrows = 0, TypeSpec::kNoThrowCopy = 1, TypeSpec::kNoThrowMove = 1 << 1, TypeSpec::kNoThrowNew = 1 << 2 } |
Functions | |
| exceptions_internal::ExceptionSafetyTestBuilder | MakeExceptionSafetyTester () |
| constexpr TypeSpec | operator& (TypeSpec a, TypeSpec b) |
| constexpr AllocSpec | operator& (AllocSpec a, AllocSpec b) |
| template<TypeSpec Spec, typename T > | |
| void | operator, (const ThrowingValue< Spec > &, T &&)=delete |
| template<TypeSpec Spec, typename T > | |
| void | operator, (T &&, const ThrowingValue< Spec > &)=delete |
| constexpr TypeSpec | operator| (TypeSpec a, TypeSpec b) |
| constexpr AllocSpec | operator| (AllocSpec a, AllocSpec b) |
| template<typename Operation > | |
| testing::AssertionResult | TestNothrowOp (const Operation &operation) |
| template<typename T , typename... Args> | |
| void | TestThrowingCtor (Args &&...args) |
Variables | |
| exceptions_internal::NoThrowTag | nothrow_ctor |
| exceptions_internal::StrongGuaranteeTagType | strong_guarantee |
|
strong |
| Enumerator | |
|---|---|
| kEverythingThrows | |
| kNoThrowAllocate | |
Definition at line 605 of file exception_safety_testing.h.
|
strong |
| Enumerator | |
|---|---|
| kEverythingThrows | |
| kNoThrowCopy | |
| kNoThrowMove | |
| kNoThrowNew | |
Definition at line 232 of file exception_safety_testing.h.
| exceptions_internal::ExceptionSafetyTestBuilder testing::MakeExceptionSafetyTester | ( | ) |
Definition at line 26 of file exception_safety_testing.cc.
Definition at line 48 of file exception_safety_testing.h.
Definition at line 58 of file exception_safety_testing.h.
|
delete |
|
delete |
Definition at line 43 of file exception_safety_testing.h.
Definition at line 53 of file exception_safety_testing.h.
| testing::AssertionResult testing::TestNothrowOp | ( | const Operation & | operation | ) |
Definition at line 798 of file exception_safety_testing.h.
| void testing::TestThrowingCtor | ( | Args &&... | args | ) |
Definition at line 778 of file exception_safety_testing.h.
| exceptions_internal::NoThrowTag testing::nothrow_ctor |
Definition at line 22 of file exception_safety_testing.cc.
| exceptions_internal::StrongGuaranteeTagType testing::strong_guarantee |
Definition at line 24 of file exception_safety_testing.cc.