Vowpal Wabbit
Public Member Functions | List of all members
VW::details::swap_guard_impl< T > Class Template Reference

#include <guard.h>

Public Member Functions

 swap_guard_impl (T *original_location, T *value_to_swap) noexcept
 
 swap_guard_impl (const swap_guard_impl &)=delete
 
swap_guard_imploperator= (const swap_guard_impl &)=delete
 
swap_guard_imploperator= (swap_guard_impl &&other)=delete
 
 swap_guard_impl (swap_guard_impl &&other) noexcept
 
 ~swap_guard_impl () 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< T >::swap_guard_impl ( T *  original_location,
T *  value_to_swap 
)
inlinenoexcept
template<typename T>
VW::details::swap_guard_impl< T >::swap_guard_impl ( const swap_guard_impl< T > &  )
delete
template<typename T>
VW::details::swap_guard_impl< T >::swap_guard_impl ( swap_guard_impl< T > &&  other)
inlinenoexcept
template<typename T>
VW::details::swap_guard_impl< T >::~swap_guard_impl ( )
inlinenoexcept

Member Function Documentation

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

Returns true if the swap occurred, otherwise false.

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

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