#include <exception_safety_testing.h>
Public Member Functions | |
template<typename... Contracts> | |
ExceptionSafetyTest (const Factory &f, const Operation &op, const Contracts &... contracts) | |
AssertionResult | Test () const |
Private Types | |
using | Contract = std::function< AssertionResult(T *)> |
using | Factory = std::function< std::unique_ptr< T >()> |
using | Operation = std::function< void(T *)> |
Private Member Functions | |
template<typename ContractFn > | |
Contract | WrapContract (const ContractFn &contract) |
Contract | WrapContract (StrongGuaranteeTagType) |
Private Attributes | |
std::vector< Contract > | contracts_ |
Factory | factory_ |
Operation | operation_ |
Definition at line 877 of file exception_safety_testing.h.
|
private |
Definition at line 880 of file exception_safety_testing.h.
|
private |
Definition at line 878 of file exception_safety_testing.h.
|
private |
Definition at line 879 of file exception_safety_testing.h.
|
inlineexplicit |
Definition at line 884 of file exception_safety_testing.h.
|
inline |
Definition at line 888 of file exception_safety_testing.h.
|
inlineprivate |
Definition at line 913 of file exception_safety_testing.h.
|
inlineprivate |
Definition at line 917 of file exception_safety_testing.h.
|
private |
Definition at line 923 of file exception_safety_testing.h.
|
private |
Definition at line 921 of file exception_safety_testing.h.
|
private |
Definition at line 922 of file exception_safety_testing.h.