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)
42 lines
1.3 KiB
Groff
42 lines
1.3 KiB
Groff
.TH "serif::utils::misc::traits" 3 "Version v0.0.1a" "SERiF" \" -*- nroff -*-
|
|
.ad l
|
|
.nh
|
|
.SH NAME
|
|
serif::utils::misc::traits
|
|
.SH SYNOPSIS
|
|
.br
|
|
.PP
|
|
.SS "Variables"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "template<typename\&.\&.\&. Ts> constexpr bool \fBall_unique_types_v\fP = true"
|
|
.br
|
|
.ti -1c
|
|
.RI "template<typename First, typename\&.\&.\&. Rest> constexpr bool \fBall_unique_types_v< First, Rest\&.\&.\&. >\fP"
|
|
.br
|
|
.RI "Compare each head with the remaining exact types without a pack-sized Boolean fold\&. "
|
|
.in -1c
|
|
.SH "Variable Documentation"
|
|
.PP
|
|
.SS "template<typename\&.\&.\&. Ts> bool serif::utils::misc::traits::all_unique_types_v = true\fR [constexpr]\fP"
|
|
|
|
.SS "template<typename First, typename\&.\&.\&. Rest> bool \fBserif::utils::misc::traits::all_unique_types_v\fP< First, Rest\&.\&.\&. >\fR [constexpr]\fP"
|
|
\fBInitial value:\fP
|
|
.nf
|
|
= [] {
|
|
constexpr std::array<bool, sizeof\&.\&.\&.(Rest)> duplicates{std_helper::SameType<First, Rest>\&.\&.\&.};
|
|
for (const bool duplicate : duplicates) {
|
|
if (duplicate) { return false; }
|
|
}
|
|
return all_unique_types_v<Rest\&.\&.\&.>;
|
|
}()
|
|
.PP
|
|
.fi
|
|
|
|
.PP
|
|
Compare each head with the remaining exact types without a pack-sized Boolean fold\&.
|
|
.SH "Author"
|
|
.PP
|
|
Generated automatically by Doxygen for SERiF from the source code\&.
|