SplitStringToArray
shared_ptr<function<Sig>>
(*p)(x...)
shared_function
invoke(p, x...)
std::ref(p)(x...)
p
shared_ptr
x
invoke(*p, x...)
*p = [=](stuff) { return dothings(p, otherstuff); }
wheels::invoke
[](Args...)->R { return R{};}
f(args...)
optional<F>
result_of
wheels::ResultOf
invoke
// say... template <typename F, typename... A> typename std::result_of<F(A...)>::type g(F&& f, A&&... a) { //now what? std::forward<F>(f)(std::forward<A>(a)...); // broken }
std::ref(f)(std::forward<A>(a)...);
operator()
void operator()(foo a, bar b) && { a.qux(std::move(this->state), b); }
*this
operator()(...) &&&
const
>>=
<<=