AUI Framework  master
Cross-platform module-based framework for developing C++20 desktop applications
aui::invocable Concept Reference

Invokable concept. More...

#include <AUI/Traits/concepts.h>

Concept definition

template<typename F, typename... Args>
concept aui::invocable = requires(F&& f, Args&&... args) {
{ std::invoke(f, std::forward<Args>(args)...) };
}
Invokable concept.
Definition: concepts.h:36
API_AUI_CORE const ACommandLineArgs & args() noexcept
Definition: OSAndroid.cpp:29

Detailed Description

Invokable concept.

Template Parameters
Argsargument types

aui::invocable is replicated from STL's std::invocable.

aui::invocable does not require return type. To specify excepted return type, use aui::callable instead.