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

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)


void swap (MovableOnlyInstance &lhs, MovableOnlyInstance &rhs)

Detailed Description

Definition at line 256 of file test_instance_tracker.h.

Constructor & Destructor Documentation

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

Definition at line 258 of file test_instance_tracker.h.

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

Member Function Documentation

MovableOnlyInstance& absl::test_internal::MovableOnlyInstance::operator= ( MovableOnlyInstance &&  other)
static bool absl::test_internal::MovableOnlyInstance::supports_move ( )

Definition at line 266 of file test_instance_tracker.h.

Friends And Related Function Documentation

void swap ( MovableOnlyInstance lhs,
MovableOnlyInstance rhs 

Definition at line 262 of file test_instance_tracker.h.

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

autogenerated on Wed Jun 19 2019 19:20:00