Public Member Functions | Static Public Member Functions | Friends | List of all members
absl::test_internal::CopyableMovableInstance Class Reference

#include <test_instance_tracker.h>

Inheritance diagram for absl::test_internal::CopyableMovableInstance:
Inheritance graph
[legend]

Public Member Functions

 CopyableMovableInstance (int x)
 
 CopyableMovableInstance (const CopyableMovableInstance &rhs)=default
 
 CopyableMovableInstance (CopyableMovableInstance &&rhs)=default
 
CopyableMovableInstanceoperator= (const CopyableMovableInstance &rhs)=default
 
CopyableMovableInstanceoperator= (CopyableMovableInstance &&rhs)=default
 
- Public Member Functions inherited from absl::test_internal::BaseCountedInstance
 BaseCountedInstance (int x)
 
 BaseCountedInstance (const BaseCountedInstance &x)
 
 BaseCountedInstance (BaseCountedInstance &&x)
 
absl::weak_ordering compare (const BaseCountedInstance &x) const
 
bool operator!= (const BaseCountedInstance &x) const
 
bool operator< (const BaseCountedInstance &x) const
 
bool operator<= (const BaseCountedInstance &x) const
 
BaseCountedInstanceoperator= (const BaseCountedInstance &x)
 
BaseCountedInstanceoperator= (BaseCountedInstance &&x)
 
bool operator== (const BaseCountedInstance &x) const
 
bool operator> (const BaseCountedInstance &x) const
 
bool operator>= (const BaseCountedInstance &x) const
 
int value () const
 
 ~BaseCountedInstance ()
 

Static Public Member Functions

static bool supports_move ()
 
- Static Public Member Functions inherited from absl::test_internal::BaseCountedInstance
static void SwapImpl (BaseCountedInstance &lhs, BaseCountedInstance &rhs)
 

Friends

void swap (CopyableMovableInstance &lhs, CopyableMovableInstance &rhs)
 

Detailed Description

Definition at line 239 of file test_instance_tracker.h.

Constructor & Destructor Documentation

◆ CopyableMovableInstance() [1/3]

absl::test_internal::CopyableMovableInstance::CopyableMovableInstance ( int  x)
inlineexplicit

Definition at line 241 of file test_instance_tracker.h.

◆ CopyableMovableInstance() [2/3]

absl::test_internal::CopyableMovableInstance::CopyableMovableInstance ( const CopyableMovableInstance rhs)
default

◆ CopyableMovableInstance() [3/3]

absl::test_internal::CopyableMovableInstance::CopyableMovableInstance ( CopyableMovableInstance &&  rhs)
default

Member Function Documentation

◆ operator=() [1/2]

CopyableMovableInstance& absl::test_internal::CopyableMovableInstance::operator= ( const CopyableMovableInstance rhs)
default

◆ operator=() [2/2]

CopyableMovableInstance& absl::test_internal::CopyableMovableInstance::operator= ( CopyableMovableInstance &&  rhs)
default

◆ supports_move()

static bool absl::test_internal::CopyableMovableInstance::supports_move ( )
inlinestatic

Definition at line 252 of file test_instance_tracker.h.

Friends And Related Function Documentation

◆ swap

void swap ( CopyableMovableInstance lhs,
CopyableMovableInstance rhs 
)
friend

Definition at line 248 of file test_instance_tracker.h.


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


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:23