MeshLib
 
Loading...
Searching...
No Matches
MR::ZeroOnMove< T > Struct Template Reference

#include <MRBuffer.h>

Public Member Functions

constexpr ZeroOnMove () noexcept
 
constexpr ZeroOnMove (const ZeroOnMove &) noexcept=delete
 
constexpr ZeroOnMove (ZeroOnMove &&z) noexcept
 
constexpr ZeroOnMoveoperator= (const ZeroOnMove &) noexcept=delete
 
constexpr ZeroOnMoveoperator= (ZeroOnMove &&z) noexcept
 

Public Attributes

val = 0
 

Constructor & Destructor Documentation

◆ ZeroOnMove() [1/3]

template<typename T >
MR::ZeroOnMove< T >::ZeroOnMove ( )
inlineconstexprnoexcept

◆ ZeroOnMove() [2/3]

template<typename T >
MR::ZeroOnMove< T >::ZeroOnMove ( const ZeroOnMove< T > & )
constexprdeletenoexcept

◆ ZeroOnMove() [3/3]

template<typename T >
MR::ZeroOnMove< T >::ZeroOnMove ( ZeroOnMove< T > && z)
inlineconstexprnoexcept

Member Function Documentation

◆ operator=() [1/2]

template<typename T >
ZeroOnMove & MR::ZeroOnMove< T >::operator= ( const ZeroOnMove< T > & )
constexprdeletenoexcept

◆ operator=() [2/2]

template<typename T >
ZeroOnMove & MR::ZeroOnMove< T >::operator= ( ZeroOnMove< T > && z)
inlineconstexprnoexcept

Member Data Documentation

◆ val

template<typename T >
T MR::ZeroOnMove< T >::val = 0

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