NIM 跨平台 C++ SDK
|
类 | |
struct | IsNothrowSwappable |
struct | IsSwappable |
类型定义 | |
template<class T > | |
using | IsSwappableImpl = decltype(swap(std::declval<T&>(), std::declval<T&>())) |
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 |
using | StdSwapIsUnconstrained = IsSwappable<void()> |
函数 | |
void | swap () |
template<class T , phmap::enable_if_t< IsSwappable< T >::value, int > = 0> | |
void | Swap (T &lhs, T &rhs) noexcept(IsNothrowSwappable< T >::value) |
using phmap::swap_internal::IsNothrowSwappableImpl = typename std::enable_if<IsNoexcept::value>::type |
using phmap::swap_internal::IsSwappableImpl = decltype(swap(std::declval<T&>(), std::declval<T&>())) |
using phmap::swap_internal::StdSwapIsUnconstrained = IsSwappable<void()> |
void phmap::swap_internal::swap | ( | ) |
|
noexcept |