Note for now much of the docs is LLM written. This was done to save time and focus on code development. The docs have been LOOSLEY reviewed. However, the code itself has been either fully written by hand or fully reviewed. Therefore, the docs should at the moment be seen as a loose resource rather than authoratiative (and this is on top of the general ability for docs to drift)
30 lines
1.0 KiB
Groff
30 lines
1.0 KiB
Groff
.TH "serif::utils::dependencies::NodeObserverCallbacks" 3 "Version v0.0.1a" "SERiF" \" -*- nroff -*-
|
|
.ad l
|
|
.nh
|
|
.SH NAME
|
|
serif::utils::dependencies::NodeObserverCallbacks \- Completion must be safe during stack unwinding and receives the state created by the before hook\&.
|
|
|
|
.SH SYNOPSIS
|
|
.br
|
|
.PP
|
|
.PP
|
|
\fR#include <observers\&.hpp>\fP
|
|
.SH "Concept definition"
|
|
.PP
|
|
|
|
.nf
|
|
template<typename BeforeT, typename AfterT>
|
|
concept serif::utils::dependencies::NodeObserverCallbacks = std::invocable<BeforeT&> &&
|
|
std::is_object_v<std::invoke_result_t<BeforeT&>> && std::move_constructible<std::invoke_result_t<BeforeT&>> &&
|
|
requires(AfterT& after, std::invoke_result_t<BeforeT&>& state, NodeOutcome outcome) {
|
|
{ std::invoke(after, state, outcome) } noexcept \-> std::same_as<void>;
|
|
}
|
|
.PP
|
|
.fi
|
|
.SH "Detailed Description"
|
|
.PP
|
|
Completion must be safe during stack unwinding and receives the state created by the before hook\&.
|
|
.SH "Author"
|
|
.PP
|
|
Generated automatically by Doxygen for SERiF from the source code\&.
|