xentara-workbench-plugin v1.0.1
The Xentara Workbench Plugin Framework
Loading...
Searching...
No Matches
xentara::workbench::bindings::Callback Concept Reference

A concept that describes const callbacks. More...

#include <xentara/workbench/bindings/Concepts.hpp>

Concept definition

template<typename Type, typename Object, typename ReturnType, typename... Arguments>
concept xentara::workbench::bindings::Callback = std::convertible_to<std::invoke_result_t<Type, Object &, Arguments...>, ReturnType>
A concept that describes const callbacks.
Definition Concepts.hpp:91

Detailed Description

A concept that describes const callbacks.

If the callback is invoked with a mutable reference to the object and the given parameters, the return type must be convertible to the return type.