OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
mem_swap< T, layout, data_type, grid_type, sel > Struct Template Reference

Case memory_traits_lin. More...

Detailed Description

template<typename T, typename layout, typename data_type, typename grid_type, unsigned int sel = 2*is_layout_mlin<layout>::value + is_layout_inte<layout>::value>
struct mem_swap< T, layout, data_type, grid_type, sel >

Case memory_traits_lin.

Definition at line 251 of file grid_base_impl_layout.hpp.

#include <grid_base_impl_layout.hpp>

Static Public Member Functions

static void swap (data_type &data_dst, data_type &data_src)
 
template<typename Mem_type >
static void swap_nomode (data_type &data_dst, data_type &data_src)
 

Member Function Documentation

◆ swap()

template<typename T , typename layout , typename data_type , typename grid_type , unsigned int sel = 2*is_layout_mlin<layout>::value + is_layout_inte<layout>::value>
static void mem_swap< T, layout, data_type, grid_type, sel >::swap ( data_type &  data_dst,
data_type &  data_src 
)
inlinestatic

Definition at line 253 of file grid_base_impl_layout.hpp.

◆ swap_nomode()

template<typename T , typename layout , typename data_type , typename grid_type , unsigned int sel = 2*is_layout_mlin<layout>::value + is_layout_inte<layout>::value>
template<typename Mem_type >
static void mem_swap< T, layout, data_type, grid_type, sel >::swap_nomode ( data_type &  data_dst,
data_type &  data_src 
)
inlinestatic

Definition at line 260 of file grid_base_impl_layout.hpp.


The documentation for this struct was generated from the following file: