fpmas 1.6
synchro.h
Go to the documentation of this file.
1#ifndef FPMAS_SYNCHRO_H
2#define FPMAS_SYNCHRO_H
3
4#include <utility>
5
10namespace fpmas { namespace synchro {
19 template<typename T>
20 struct DataUpdate {
35 static void update(T& local_data, T&& updated_data) {
36 local_data = std::move(updated_data);
37 }
38 };
39}}
40#endif
Definition: fpmas.cpp:3
Definition: synchro.h:20
static void update(T &local_data, T &&updated_data)
Definition: synchro.h:35