+template<class R, class... Args> inline
+R simcall(e_smx_simcall_t call, Args&&... args)
+{
+ smx_process_t self = SIMIX_process_self();
+ marshal(&self->simcall, call, std::forward<Args>(args)...);
+ simcall_call(self);
+ return unmarshal<R>(self->simcall.result);
+}
+