summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/30275-bug_1321.cpp
blob: 5e708c1115b5f2bde4ce10bcc836c55c2ddffccf (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) ...); }