53template <std::copy_constructible callback_t>
86template <std::copy_constructible callback_t>
Utility wrapper that behaves like std::optional but makes the type conform with the std::copyable con...
Definition: copyable_wrapper.hpp:37
Configuration element to provide a user defined callback function for the search.
Definition: on_result.hpp:55
constexpr on_result & operator=(on_result const &)=default
Defaulted.
constexpr on_result(callback_t &&callback)
Constructs the configuration element with the given user callback.
Definition: on_result.hpp:73
constexpr on_result()=default
Defaulted.
constexpr on_result(on_result &&)=default
Defaulted.
constexpr on_result(on_result const &)=default
Defaulted.
seqan3::detail::copyable_wrapper_t< callback_t > callback
The stored callable which will be invoked with the search result.
Definition: on_result.hpp:58
~on_result()=default
Defaulted.
constexpr on_result & operator=(on_result &&)=default
Defaulted.
Provides seqan3::detail::copyable_wrapper.
search_config_id
Specifies an id for every configuration element.
Definition: search/configuration/detail.hpp:43
@ on_result
Identifier for the configuration to pass a user defined callable.
A special sub namespace for the search configurations.
on_result(callback_t &&) -> on_result< std::decay_t< callback_t > >
Deduces the callback type from a forwarding constructor argument.
SeqAn specific customisations in the standard namespace.
Provides seqan3::pipeable_config_element.
Provides compatibility matrix for search configurations.
Adds pipe interface to configuration elements.
Definition: pipeable_config_element.hpp:32