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

#include <test_instance_tracker.h>

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

Public Member Functions

 CopyableOnlyInstance (int x)
 
 CopyableOnlyInstance (const CopyableOnlyInstance &rhs)=default
 
CopyableOnlyInstanceoperator= (const CopyableOnlyInstance &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 (CopyableOnlyInstance &lhs, CopyableOnlyInstance &rhs)
 

Detailed Description

Definition at line 225 of file test_instance_tracker.h.

Constructor & Destructor Documentation

◆ CopyableOnlyInstance() [1/2]

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

Definition at line 227 of file test_instance_tracker.h.

◆ CopyableOnlyInstance() [2/2]

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

Member Function Documentation

◆ operator=()

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

◆ supports_move()

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

Definition at line 235 of file test_instance_tracker.h.

Friends And Related Function Documentation

◆ swap

void swap ( CopyableOnlyInstance lhs,
CopyableOnlyInstance rhs 
)
friend

Definition at line 231 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