copy_spy< BaseT > Struct Template Reference

Utility for testing how many times an object is copied. More...

#include <atria/testing/spies.hpp>

Public Types

using base_t = BaseT
 

Public Member Functions

 copy_spy (copy_spy &&)=default
 
copy_spyoperator= (copy_spy &&)=default
 
 copy_spy (const copy_spy &x)
 
copy_spyoperator= (const copy_spy &x)
 

Public Attributes

testing::spy_fn copied
 

Detailed Description

template<typename BaseT = detail::default_copy_spy_base_t>
struct atria::testing::copy_spy< BaseT >

Utility for testing how many times an object is copied.

Definition at line 278 of file spies.hpp.


The documentation for this struct was generated from the following file:
Fork me on GitHub