Classes | Functions | Variables
sol::detail::swap_adl_tests Namespace Reference

Classes

struct  is_adl_swap_noexcept
 
struct  is_std_swap_noexcept
 
struct  is_std_swap_noexcept< T[N]>
 
struct  tag
 

Functions

template<class , class >
std::false_type can_swap (...) noexcept(false)
 
template<class T , class U , class = decltype(swap(std::declval<T&>(), std::declval<U&>()))>
std::true_type can_swap (int) noexcept(noexcept(swap(std::declval< T & >(), std::declval< U & >())))
 
template<class T >
tag swap (T &, T &)
 
template<class T , std::size_t N>
tag swap (T(&a)[N], T(&b)[N])
 
template<class , class >
std::false_type uses_std (...)
 

Variables

template<class T , class U >
std::is_same< decltype(swap(std::declval< T & >), std::declval< U & >))), taguses_std (int)
 

Function Documentation

◆ can_swap() [1/2]

template<class , class >
std::false_type sol::detail::swap_adl_tests::can_swap (   ...)
noexcept

◆ can_swap() [2/2]

template<class T , class U , class = decltype(swap(std::declval<T&>(), std::declval<U&>()))>
std::true_type sol::detail::swap_adl_tests::can_swap ( int  ) &
noexcept

◆ swap() [1/2]

template<class T >
tag sol::detail::swap_adl_tests::swap ( T &  ,
T &   
)

◆ swap() [2/2]

template<class T , std::size_t N>
tag sol::detail::swap_adl_tests::swap ( T(&)  a[N],
T(&)  b[N] 
)

◆ uses_std()

template<class , class >
std::false_type sol::detail::swap_adl_tests::uses_std (   ...)

Variable Documentation

◆ uses_std

template<class T , class U >
std::is_same<decltype(swap(std::declval<T&>), std::declval<U&>))), tag> sol::detail::swap_adl_tests::uses_std(int)

Definition at line 4889 of file sol.hpp.



plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:53