A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
implement mpi_isendrecv and mpi_isendrecv_replace
[simgrid.git]
/
doc
/
doxygen
/
uhood_switch.doc
diff --git
a/doc/doxygen/uhood_switch.doc
b/doc/doxygen/uhood_switch.doc
index dc4036766b01b6164054cc7a4b1d6e8e9e34b3f7..98d55a9c47567985694799d0651410332d3d688a 100644
(file)
--- a/
doc/doxygen/uhood_switch.doc
+++ b/
doc/doxygen/uhood_switch.doc
@@
-411,7
+411,7
@@
type and properly handles exceptions:
@code{cpp}
template<class F>
@code{cpp}
template<class F>
-typename std::result_of
<F()>::type
kernelImmediate(F&& code)
+typename std::result_of
_t<F()>
kernelImmediate(F&& code)
{
// If we are in the simulation kernel, we take the fast path and
// execute the code directly without simcall
{
// If we are in the simulation kernel, we take the fast path and
// execute the code directly without simcall
@@
-421,7
+421,7
@@
typename std::result_of<F()>::type kernelImmediate(F&& code)
// If we are in the application, pass the code to the simulation
// kernel which executes it for us and reports the result:
// If we are in the application, pass the code to the simulation
// kernel which executes it for us and reports the result:
- typedef typename std::result_of
<F()>::type
R;
+ typedef typename std::result_of
_t<F()>
R;
simgrid::xbt::Result<R> result;
simcall_run_kernel([&]{
xbt_assert(SIMIX_is_maestro(), "Not in maestro");
simgrid::xbt::Result<R> result;
simcall_run_kernel([&]{
xbt_assert(SIMIX_is_maestro(), "Not in maestro");