fpmas 1.5
synchro.h
1#ifndef FPMAS_SYNCHRO_H
2#define FPMAS_SYNCHRO_H
3
4#include <utility>
5
6namespace fpmas { namespace synchro {
15 template<typename T>
16 struct DataUpdate {
31 static void update(T& local_data, T&& updated_data) {
32 local_data = std::move(updated_data);
33 }
34 };
35}}
36#endif
Definition: fpmas.cpp:3
Definition: synchro.h:16
static void update(T &local_data, T &&updated_data)
Definition: synchro.h:31