Skip to content

Commit ab82231

Browse files
jensmaurertkoeppe
authored andcommitted
[exec.snd.expos] Use static_assert instead of 'Mandates' in a comment
1 parent 0811487 commit ab82231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/exec.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1826,7 +1826,7 @@
18261826
[]<class Index, class Rcvr, class Tag, class... Args>(
18271827
Index, auto& state, Rcvr& rcvr, Tag, Args&&... args) noexcept
18281828
-> void requires @\exposconcept{callable}@<Tag, Rcvr, Args...> {
1829-
// Mandates: Index::value == 0
1829+
static_assert(Index::value == 0);
18301830
Tag()(std::move(rcvr), std::forward<Args>(args)...);
18311831
}
18321832
\end{codeblock}

0 commit comments

Comments
 (0)