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

A concept that describes checkers for string bindings. More...

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

Concept definition

template<typename Type, typename BindingValue, typename Object>
concept xentara::workbench::bindings::StringChecker = std::convertible_to<std::invoke_result_t<Type, const Object &, const BindingValue &>,
utils::eh::expected<bool, ui::String>>
A concept that describes checkers for string bindings.
Definition Concepts.hpp:63

Detailed Description

A concept that describes checkers for string bindings.

The function is invoked with a const-reference to the object and a const-reference to the value to be checked. The return type must be convertible to utils::eh::expected<bool, ui::String>.