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) |
using absl::swap_internal::IsNothrowSwappableImpl = typedef typename std::enable_if<IsNoexcept::value>::type |
Definition at line 650 of file type_traits.h.
using absl::swap_internal::IsSwappableImpl = typedef decltype(swap(std::declval<T&>(), std::declval<T&>())) |
Definition at line 644 of file type_traits.h.
using absl::swap_internal::StdSwapIsUnconstrained = typedef IsSwappable<void()> |
Definition at line 682 of file type_traits.h.
void absl::swap_internal::swap | ( | ) |
|
noexcept |
Definition at line 673 of file type_traits.h.