summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/bug_1321.cpp
blob: c381f91ce25389773b02e6ce2e32152ee8609cff (plain)
1
2
3
4
5
6
#include <utility>

template <typename Fun, typename ... Args>
inline decltype(auto) Invoke(Fun&& f, Args&&... args)
  noexcept(noexcept(std::forward<Fun>(f)(std::forward<Args>(args) ...)))
{ return std::forward<Fun>(f)(std::forward<Args>(args) ...); }