OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
compare_aggregate< S > Struct Template Reference

Structure to compare aggregates. More...

Detailed Description

template<typename S>
struct compare_aggregate< S >

Structure to compare aggregates.

Template Parameters
aggregateto compare

Definition at line 128 of file copy_compare_aggregates.hpp.

#include <copy_compare_aggregates.hpp>

Public Member Functions

 compare_aggregate (const S &src, const S &dst)
 copy_aggregate
 
template<typename T >
void operator() (T &t)
 It call the copy function for each member.
 
bool result ()
 Returh the result of the comparison. More...
 

Data Fields

bool eq
 result of the comparation
 
const S & src
 src
 
const S & dst
 Destination grid.
 

Member Function Documentation

◆ result()

template<typename S>
bool compare_aggregate< S >::result ( )
inline

Returh the result of the comparison.

Returns
true if aggregates match

Definition at line 164 of file copy_compare_aggregates.hpp.


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