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)
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
const S & dst
 Destination grid.

Member Function Documentation

◆ result()

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

Returh the result of the comparison.

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: