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)
28 lines
1.0 KiB
Groff
28 lines
1.0 KiB
Groff
.TH "serif::utils::dependencies::SnapshotPolicyFor" 3 "Version v0.0.1a" "SERiF" \" -*- nroff -*-
|
|
.ad l
|
|
.nh
|
|
.SH NAME
|
|
serif::utils::dependencies::SnapshotPolicyFor
|
|
.SH SYNOPSIS
|
|
.br
|
|
.PP
|
|
.PP
|
|
\fR#include <snapshot\&.hpp>\fP
|
|
.SH "Concept definition"
|
|
.PP
|
|
|
|
.nf
|
|
template<typename PolicyT, typename ValueT>
|
|
concept serif::utils::dependencies::SnapshotPolicyFor = requires(const PolicyT& policy, const ValueT& value) {
|
|
policy\&.capture(value);
|
|
requires std::is_object_v<decltype(policy\&.capture(value))>;
|
|
requires std::move_constructible<decltype(policy\&.capture(value))>;
|
|
{ policy\&.matches(std::declval<const decltype(policy\&.capture(value))&>(), value) } \-> std::convertible_to<bool>;
|
|
} && (!requires(const PolicyT& policy, const ValueT& value) { policy\&.identity(value); } ||
|
|
requires(const PolicyT& policy, const ValueT& value) { { policy\&.identity(value) } \-> std::convertible_to<const void*>; })
|
|
.PP
|
|
.fi
|
|
.SH "Author"
|
|
.PP
|
|
Generated automatically by Doxygen for SERiF from the source code\&.
|