proxygen
folly::detail::propagate_const_adl Namespace Reference

Functions

template<typename T >
auto adl_swap (T &a, T &b) noexcept(noexcept(swap(a, b))) -> decltype(swap(a, b))
 

Function Documentation

template<typename T >
auto folly::detail::propagate_const_adl::adl_swap ( T a,
T b 
) -> decltype(swap(a, b))
noexcept

Definition at line 52 of file PropagateConst.h.

References a, b, and folly::swap().

Referenced by folly::propagate_const< Pointer >::swap().

53  {
54  swap(a, b);
55 }
char b
char a
FOLLY_CPP14_CONSTEXPR void swap(propagate_const< Pointer > &a, propagate_const< Pointer > &b) noexcept(noexcept(a.swap(b)))