mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
Added C++14 function wrappers
This commit is contained in:
parent
14ebc350a8
commit
4199ae0298
@ -729,7 +729,7 @@ namespace etl
|
||||
public:
|
||||
|
||||
template<typename... TParams>
|
||||
constexpr auto operator()(TParams&&... args) const -> decltype(Function)
|
||||
constexpr auto operator()(TParams&&... args) const -> decltype(Function(etl::forward<TParams>(args)...))
|
||||
{
|
||||
return Function(etl::forward<TParams>(args)...);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user