libdisplaydevice latest
C++ library to modify display devices.
display_device::detail::OptionalFunction Concept Reference

Given that we know that we are dealing with a function, check if it is an optional function (like std::function<...>) or other callable. More...

#include <src/common/include/display_device/retry_scheduler.h>

Concept definition

template<class FunctionT>
concept display_device::detail::OptionalFunction = requires(FunctionT exec_fn) {
static_cast<bool>(exec_fn);
}
Given that we know that we are dealing with a function, check if it is an optional function (like std...
Definition retry_scheduler.h:70

Detailed Description

Given that we know that we are dealing with a function, check if it is an optional function (like std::function<...>) or other callable.