Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
detect_copy_move Class Reference

A class to detect when a copy or move constructor has been invoked. More...

Public Member Functions

 detect_copy_move (const detect_copy_move &)
 
 detect_copy_move (detect_copy_move &&) noexcept
 
detect_copy_moveoperator= (const detect_copy_move &)=delete
 
detect_copy_moveoperator= (detect_copy_move &&)=delete
 
bool get_copied () const
 
bool get_moved () const
 

Private Attributes

bool copied = false
 
bool moved = false
 

Detailed Description

A class to detect when a copy or move constructor has been invoked.

Constructor & Destructor Documentation

◆ detect_copy_move() [1/2]

detect_copy_move::detect_copy_move ( const detect_copy_move )
inline
435: copied(true) {}

◆ detect_copy_move() [2/2]

detect_copy_move::detect_copy_move ( detect_copy_move &&  )
inlinenoexcept
437: moved(true) {}

Member Function Documentation

◆ get_copied()

bool detect_copy_move::get_copied ( ) const
inline
444 {
445 return copied;
446 };

◆ get_moved()

bool detect_copy_move::get_moved ( ) const
inline
449 {
450 return moved;
451 };

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