fpmas
1.6
src
fpmas
synchro
synchro.h
Go to the documentation of this file.
1
#ifndef FPMAS_SYNCHRO_H
2
#define FPMAS_SYNCHRO_H
3
4
#include <utility>
5
10
namespace
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
fpmas
Definition:
fpmas.cpp:3
fpmas::synchro::DataUpdate
Definition:
synchro.h:20
fpmas::synchro::DataUpdate::update
static void update(T &local_data, T &&updated_data)
Definition:
synchro.h:35
Generated by
1.9.3