is_noexcept_swappable_with< T, U > Struct Template Reference

Static Public Member Functions

template<class X , class Y , bool B = noexcept(swap(declval<X&>(), declval<Y&>()))>
static void test (enable_if_t< B > *) noexcept(true)
 
template
<
class
,
class
>
static void test (...) noexcept(false)
 

Static Public Attributes

static constexpr bool value = noexcept(test<T, U>(nullptr))
 

Detailed Description


template
<
class
T
,
class
U
>

struct core::v2::impl::is_noexcept_swappable_with< T, U >

Definition at line 77 of file internal.hpp.

Member Function Documentation

◆ test() [1/2]

static void test ( enable_if_t< B > *  )
staticnoexcept

◆ test() [2/2]

static void test (   ...)
staticnoexcept

Member Data Documentation

◆ value

constexpr bool value = noexcept(test<T, U>(nullptr))
static

Definition at line 87 of file internal.hpp.


The documentation for this struct was generated from the following file:
  • /home/jenkins-mlpack/mlpack.org/_src/mlpack-git/src/mlpack/core/std_backport/internal.hpp