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
Improve the doc of parallel executions
[simgrid.git]
/
include
/
xbt
/
functional.hpp
diff --git
a/include/xbt/functional.hpp
b/include/xbt/functional.hpp
index
48803e6
..
e6f7ca7
100644
(file)
--- a/
include/xbt/functional.hpp
+++ b/
include/xbt/functional.hpp
@@
-56,10
+56,6
@@
template <class F> inline std::function<void()> wrap_main(F code, std::vector<st
{
return MainFunction<F>(std::move(code), std::move(args));
}
-inline std::function<void()> wrap_main(void (*code)(std::vector<std::string>), std::vector<std::string> args)
-{
- return std::bind(std::move(code), std::move(args));
-}
template <class F> inline std::function<void()> wrap_main(F code, int argc, const char* const argv[])
{