Classes | Typedefs | Functions
absl::swap_internal Namespace Reference

Classes

struct  IsNothrowSwappable
 
struct  IsSwappable
 

Typedefs

template<class T , class IsNoexcept = std::integral_constant< bool, noexcept(swap(std::declval<T&>(), std::declval<T&>()))>>
using IsNothrowSwappableImpl = typename std::enable_if< IsNoexcept::value >::type
 
template<class T >
using IsSwappableImpl = decltype(swap(std::declval< T & >(), std::declval< T & >()))
 
using StdSwapIsUnconstrained = IsSwappable< void()>
 

Functions

void swap ()
 
template<class T , absl::enable_if_t< IsSwappable< T >::value, int > = 0>
void Swap (T &lhs, T &rhs) noexcept(IsNothrowSwappable< T >::value)
 

Typedef Documentation

template<class T , class IsNoexcept = std::integral_constant< bool, noexcept(swap(std::declval<T&>(), std::declval<T&>()))>>
using absl::swap_internal::IsNothrowSwappableImpl = typedef typename std::enable_if<IsNoexcept::value>::type

Definition at line 650 of file type_traits.h.

template<class T >
using absl::swap_internal::IsSwappableImpl = typedef decltype(swap(std::declval<T&>(), std::declval<T&>()))

Definition at line 644 of file type_traits.h.

Definition at line 682 of file type_traits.h.

Function Documentation

void absl::swap_internal::swap ( )
template<class T , absl::enable_if_t< IsSwappable< T >::value, int > = 0>
void absl::swap_internal::Swap ( T &  lhs,
T &  rhs 
)
noexcept

Definition at line 673 of file type_traits.h.



abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:20:00