deal.II version GIT relicensing-1941-ga9013bea74 2024-10-08 06:50:00+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Classes | Functions
MemorySpace Namespace Reference

Classes

struct  Default
 
struct  Host
 
struct  MemorySpaceData
 

Functions

template<typename T , typename MemorySpace >
void swap (MemorySpaceData< T, MemorySpace > &u, MemorySpaceData< T, MemorySpace > &v) noexcept
 

Function Documentation

◆ swap()

template<typename T , typename MemorySpace >
void MemorySpace::swap ( MemorySpaceData< T, MemorySpace > &  u,
MemorySpaceData< T, MemorySpace > &  v 
)
inlinenoexcept

Swap function similar to std::swap.