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\&.
|