Skip to content

Commit c238725

Browse files
committed
[exec.snd.expos] Use static_assert instead of 'Mandates' in a comment
1 parent ace16c8 commit c238725

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
@@ -1827,7 +1827,7 @@
18271827
[]<class Index, class Rcvr, class Tag, class... Args>(
18281828
Index, auto& state, Rcvr& rcvr, Tag, Args&&... args) noexcept
18291829
-> void requires @\exposconcept{callable}@<Tag, Rcvr, Args...> {
1830-
// Mandates: Index::value == 0
1830+
static_assert(Index::value == 0);
18311831
Tag()(std::move(rcvr), std::forward<Args>(args)...);
18321832
}
18331833
\end{codeblock}

0 commit comments

Comments
 (0)