Vowpal Wabbit
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
guard.h File Reference
#include "vw/common/future_compat.h"
#include <utility>

Classes

class  VW::details::swap_guard_impl< T >
 
class  VW::details::swap_guard_impl_rvalue< T >
 

Namespaces

namespace  VW
 
namespace  VW::details
 

Functions

template<typename T >
details::swap_guard_impl< T > VW::swap_guard (T &original_location, T &value_to_swap) noexcept
 
template<typename T >
details::swap_guard_impl_rvalue< T > VW::swap_guard (T &original_location, T &&value_to_swap) noexcept
 
template<typename T >
details::swap_guard_impl_rvalue< T > VW::stash_guard (T &original_location) noexcept