Vowpal Wabbit
Loading...
Searching...
No Matches
Public Member Functions | List of all members
VW::details::swap_guard_impl_rvalue< T > Class Template Reference

#include <guard.h>

Public Member Functions

 swap_guard_impl_rvalue (T *original_location, T &&value_to_swap) noexcept
 
 swap_guard_impl_rvalue (const swap_guard_impl_rvalue &)=delete
 
swap_guard_impl_rvalueoperator= (const swap_guard_impl_rvalue &)=delete
 
swap_guard_impl_rvalueoperator= (swap_guard_impl_rvalue &&other)=delete
 
 swap_guard_impl_rvalue (swap_guard_impl_rvalue &&other) noexcept
 
 ~swap_guard_impl_rvalue () noexcept
 
void cancel () noexcept
 
bool do_swap () noexcept
 Returns true if the swap occurred, otherwise false. More...
 

Constructor & Destructor Documentation

◆ swap_guard_impl_rvalue() [1/3]

template<typename T >
VW::details::swap_guard_impl_rvalue< T >::swap_guard_impl_rvalue ( T *  original_location,
T &&  value_to_swap 
)
inlinenoexcept

◆ swap_guard_impl_rvalue() [2/3]

template<typename T >
VW::details::swap_guard_impl_rvalue< T >::swap_guard_impl_rvalue ( const swap_guard_impl_rvalue< T > &  )
delete

◆ swap_guard_impl_rvalue() [3/3]

template<typename T >
VW::details::swap_guard_impl_rvalue< T >::swap_guard_impl_rvalue ( swap_guard_impl_rvalue< T > &&  other)
inlinenoexcept

◆ ~swap_guard_impl_rvalue()

template<typename T >
VW::details::swap_guard_impl_rvalue< T >::~swap_guard_impl_rvalue ( )
inlinenoexcept

Member Function Documentation

◆ cancel()

template<typename T >
void VW::details::swap_guard_impl_rvalue< T >::cancel ( )
inlinenoexcept

◆ do_swap()

template<typename T >
bool VW::details::swap_guard_impl_rvalue< T >::do_swap ( )
inlinenoexcept

Returns true if the swap occurred, otherwise false.

◆ operator=() [1/2]

template<typename T >
swap_guard_impl_rvalue & VW::details::swap_guard_impl_rvalue< T >::operator= ( const swap_guard_impl_rvalue< T > &  )
delete

◆ operator=() [2/2]

template<typename T >
swap_guard_impl_rvalue & VW::details::swap_guard_impl_rvalue< T >::operator= ( swap_guard_impl_rvalue< T > &&  other)
delete

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