AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
aui::constraint::move_only< T > Class Template Reference

Wraps the object forbidding copy. More...

#include <AUI/Traits/values.h>

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-> ()
 

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.


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