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

#include <test_instance_tracker.h>

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

Public Member Functions

 MovableOnlyInstance (int x)
 
 MovableOnlyInstance (MovableOnlyInstance &&other)=default
 
MovableOnlyInstanceoperator= (MovableOnlyInstance &&other)=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 (MovableOnlyInstance &lhs, MovableOnlyInstance &rhs)
 

Detailed Description

Definition at line 256 of file test_instance_tracker.h.

Constructor & Destructor Documentation

◆ MovableOnlyInstance() [1/2]

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

Definition at line 258 of file test_instance_tracker.h.

◆ MovableOnlyInstance() [2/2]

absl::test_internal::MovableOnlyInstance::MovableOnlyInstance ( MovableOnlyInstance &&  other)
default

Member Function Documentation

◆ operator=()

MovableOnlyInstance& absl::test_internal::MovableOnlyInstance::operator= ( MovableOnlyInstance &&  other)
default

◆ supports_move()

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

Definition at line 266 of file test_instance_tracker.h.

Friends And Related Function Documentation

◆ swap

void swap ( MovableOnlyInstance lhs,
MovableOnlyInstance rhs 
)
friend

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