modm API documentation
unittest::CountType Class Reference

Data type to count the number of constructor etc. calls. More...

#include <unittest/type/count_type.hpp>

Public Member Functions

 CountType (const CountType &other)
 
CountType & operator= (const CountType &other)
 

Static Public Member Functions

static void reset ()
 

Static Public Attributes

static std::size_t numberOfDefaultConstructorCalls = 0
 
static std::size_t numberOfCopyConstructorCalls = 0
 
static std::size_t numberOfAssignments = 0
 
static std::size_t numberOfDestructorCalls = 0
 
static std::size_t numberOfReallocs = 0
 
static std::size_t numberOfOperations = 0
 

Detailed Description

Data type to count the number of constructor etc. calls.


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