MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
FCopyConstructCounter Struct Reference

#include <TestHelpers.h>

Public Member Functions

FORCEINLINE FCopyConstructCounter ()
 
FORCEINLINE FCopyConstructCounter (FCopyConstructCounter const &other)
 
FORCEINLINE FCopyConstructCounter (FCopyConstructCounter &&other) noexcept
 
auto operator= (FCopyConstructCounter const &other) -> FCopyConstructCounter &
 
auto operator= (FCopyConstructCounter &&other) noexcept -> FCopyConstructCounter &
 

Data Fields

int32 CopyCount = 0
 
int32 MoveCount = 0
 
int32 CopyAssignCount = 0
 
int32 MoveAssignCount = 0
 

Detailed Description

Definition at line 18 of file TestHelpers.h.

Constructor & Destructor Documentation

◆ FCopyConstructCounter() [1/3]

FORCEINLINE FCopyConstructCounter::FCopyConstructCounter ( )
inline

Definition at line 20 of file TestHelpers.h.

◆ FCopyConstructCounter() [2/3]

FORCEINLINE FCopyConstructCounter::FCopyConstructCounter ( FCopyConstructCounter const & other)
inline

Definition at line 21 of file TestHelpers.h.

◆ FCopyConstructCounter() [3/3]

FORCEINLINE FCopyConstructCounter::FCopyConstructCounter ( FCopyConstructCounter && other)
inlinenoexcept

Definition at line 24 of file TestHelpers.h.

Member Function Documentation

◆ operator=() [1/2]

auto FCopyConstructCounter::operator= ( FCopyConstructCounter && other) -> FCopyConstructCounter &
noexcept

◆ operator=() [2/2]

auto FCopyConstructCounter::operator= ( FCopyConstructCounter const & other) -> FCopyConstructCounter &

Field Documentation

◆ CopyAssignCount

int32 FCopyConstructCounter::CopyAssignCount = 0

Definition at line 33 of file TestHelpers.h.

◆ CopyCount

int32 FCopyConstructCounter::CopyCount = 0

Definition at line 31 of file TestHelpers.h.

◆ MoveAssignCount

int32 FCopyConstructCounter::MoveAssignCount = 0

Definition at line 34 of file TestHelpers.h.

◆ MoveCount

int32 FCopyConstructCounter::MoveCount = 0

Definition at line 32 of file TestHelpers.h.


The documentation for this struct was generated from the following file: