Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
agora::internal::swappable_impl::IsSwappableImpl Struct Reference

`#include <AgoraOptional.h>`

## Static Public Member Functions
template<typename T>
static auto | Check (int) -> decltype(swap(std::declval< T >(), std::declval< T >()), std::true_type())
template<typename T>
static std::false_type | Check (...)

## Member Function Documentation

## ◆ Check() [1/2]

template<typename T>

static auto agora::internal::swappable_impl::IsSwappableImpl::Check | ( | int |  | ) | -> decltype(swap(std::declval< T >(), std::declval< T >()), std::true_type())
| static

## ◆ Check() [2/2]

template<typename T>

static std::false_type agora::internal::swappable_impl::IsSwappableImpl::Check | ( |  | ... | ) |
| static