|
template<class F > |
std::function< void()> | simgrid::xbt::wrapMain (F code, std::vector< std::string > args) |
|
template<class F > |
std::function< void()> | simgrid::xbt::wrapMain (F code, int argc, const char *const argv[]) |
|
template<class F , class Tuple , std::size_t... I> |
constexpr auto | simgrid::xbt::bits::apply (F &&f, Tuple &&t, simgrid::xbt::index_sequence< I... >) -> decltype(std::forward< F >(f)(std::get< I >(std::forward< Tuple >(t))...)) |
|
template<class F , class Tuple > |
constexpr auto | simgrid::xbt::apply (F &&f, Tuple &&t) -> decltype(simgrid::xbt::bits::apply(std::forward< F >(f), std::forward< Tuple >(t), simgrid::xbt::make_index_sequence< std::tuple_size< typename std::decay< Tuple >::type >::value >())) |
| Call a functional object with the values in the given tuple (from C++17) More...
|
|
template<class F , class... Args> |
auto | simgrid::xbt::makeTask (F code, Args... args) -> Task< decltype(code(std::move(args)...))() > |
|