Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes
testing::exceptions_internal::ConstructorTracker Class Reference

#include <exception_safety_testing.h>

List of all members.

Public Member Functions

 ConstructorTracker (int count)
 ~ConstructorTracker ()

Static Public Member Functions

static void ObjectConstructed (void *address, std::string description)
static void ObjectDestructed (void *address)

Static Private Member Functions

static bool CurrentlyTracking ()
static std::string ErrorMessage (void *address, const std::string &address_description, int countdown, const std::string &error_description)

Private Attributes

std::unordered_map< void
*, TrackedAddress
address_map_
int countdown_

Static Private Attributes

static ConstructorTrackercurrent_tracker_instance_ = nullptr

Detailed Description

Definition at line 115 of file exception_safety_testing.h.


Constructor & Destructor Documentation

Definition at line 117 of file exception_safety_testing.h.

Definition at line 122 of file exception_safety_testing.h.


Member Function Documentation

Definition at line 168 of file exception_safety_testing.h.

static std::string testing::exceptions_internal::ConstructorTracker::ErrorMessage ( void *  address,
const std::string &  address_description,
int  countdown,
const std::string &  error_description 
) [inline, static, private]

Definition at line 172 of file exception_safety_testing.h.

static void testing::exceptions_internal::ConstructorTracker::ObjectConstructed ( void *  address,
std::string  description 
) [inline, static]

Definition at line 136 of file exception_safety_testing.h.

static void testing::exceptions_internal::ConstructorTracker::ObjectDestructed ( void *  address) [inline, static]

Definition at line 151 of file exception_safety_testing.h.


Member Data Documentation

Definition at line 184 of file exception_safety_testing.h.

Definition at line 185 of file exception_safety_testing.h.

Definition at line 187 of file exception_safety_testing.h.


The documentation for this class was generated from the following files:


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:17