Public Member Functions | Private Attributes | Friends | List of all members
move_only_test Class Reference

#include <utils.h>

Public Member Functions

 move_only_test (const move_only_test &)=delete
 
 move_only_test (move_only_test &&)=default
 
 move_only_test (std::int64_t value)
 
 move_only_test (std::string value)
 
move_only_testoperator= (const move_only_test &)=delete
 
move_only_testoperator= (move_only_test &&)=default
 
const std::string & value () const
 

Private Attributes

std::unique_ptr< std::string > m_value
 

Friends

bool operator!= (const move_only_test &lhs, const move_only_test &rhs)
 
bool operator< (const move_only_test &lhs, const move_only_test &rhs)
 
std::ostream & operator<< (std::ostream &stream, const move_only_test &value)
 
bool operator== (const move_only_test &lhs, const move_only_test &rhs)
 

Detailed Description

Definition at line 128 of file robin-map/tests/utils.h.

Constructor & Destructor Documentation

◆ move_only_test() [1/4]

move_only_test::move_only_test ( std::int64_t  value)
inlineexplicit

Definition at line 130 of file robin-map/tests/utils.h.

◆ move_only_test() [2/4]

move_only_test::move_only_test ( std::string  value)
inlineexplicit

Definition at line 133 of file robin-map/tests/utils.h.

◆ move_only_test() [3/4]

move_only_test::move_only_test ( const move_only_test )
delete

◆ move_only_test() [4/4]

move_only_test::move_only_test ( move_only_test &&  )
default

Member Function Documentation

◆ operator=() [1/2]

move_only_test& move_only_test::operator= ( const move_only_test )
delete

◆ operator=() [2/2]

move_only_test& move_only_test::operator= ( move_only_test &&  )
default

◆ value()

const std::string& move_only_test::value ( ) const
inline

Definition at line 176 of file robin-map/tests/utils.h.

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const move_only_test lhs,
const move_only_test rhs 
)
friend

Definition at line 160 of file robin-map/tests/utils.h.

◆ operator<

bool operator< ( const move_only_test lhs,
const move_only_test rhs 
)
friend

Definition at line 164 of file robin-map/tests/utils.h.

◆ operator<<

std::ostream& operator<< ( std::ostream &  stream,
const move_only_test value 
)
friend

Definition at line 141 of file robin-map/tests/utils.h.

◆ operator==

bool operator== ( const move_only_test lhs,
const move_only_test rhs 
)
friend

Definition at line 152 of file robin-map/tests/utils.h.

Member Data Documentation

◆ m_value

std::unique_ptr<std::string> move_only_test::m_value
private

Definition at line 179 of file robin-map/tests/utils.h.


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


mp2p_icp
Author(s): Jose-Luis Blanco-Claraco
autogenerated on Sun Jun 23 2024 02:47:45