3#ifndef pRC_CORE_TENSOR_FUNCTIONS_SWAP_H
4#define pRC_CORE_TENSOR_FUNCTIONS_SWAP_H
13 template<
class XA,
class XB,
class RA = RemoveReference<XA>,
14 class RB = RemoveReference<XB>, If<IsTensorish<RA>> = 0,
15 If<IsInvocable<View, XA>> = 0, If<IsTensorish<RB>> = 0,
16 If<IsInvocable<View, XB>> = 0,
17 If<IsSame<
typename RA::Sizes,
typename RB::Sizes>> = 0,
18 class EA = ResultOf<XA,
typename RA::Subscripts>,
19 class EB = ResultOf<XB,
typename RB::Subscripts>,
20 If<IsInvocable<Swap, EA, EB>> = 0>
21 static inline constexpr auto swap(
XA &&a,
XB &&b)
Definition cholesky.hpp:18
static constexpr auto makeConstantSequence()
Definition sequence.hpp:402
static constexpr auto swap(XA &&a, XB &&b)
Definition swap.hpp:21