AUI Framework  master
Cross-platform module-based framework for developing C++20 desktop applications
aui::constraint::move_only< T > Class Template Reference

Wraps the object forbidding copy. More...

Detailed Description

template<typename T>
class aui::constraint::move_only< T >

Wraps the object forbidding copy.

Template Parameters
T

The caller can be sure his value wouldn't be copied even if copy constructor allows to do so.

Public Member Functions

 move_only (T &&rhs)
 
 move_only (move_only &&rhs) noexcept
 
 move_only (const move_only &)=delete
 
 operator const T & () const
 
 operator T& ()
 
const T & operator* () const
 
const T * operator-> () const
 
T * operator-> ()
 

#include <AUI/Traits/values.h>


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