Vowpal Wabbit
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

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

Member Function Documentation

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

Returns true if the swap occurred, otherwise false.

template<typename T>
swap_guard_impl_rvalue& VW::details::swap_guard_impl_rvalue< T >::operator= ( const swap_guard_impl_rvalue< T > &  )
delete
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: