Skip to content

Commit abb81fa

Browse files
jensmaurertkoeppe
authored andcommitted
[intro.execution] Fix bad function call in example
1 parent 0ce4a99 commit abb81fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/basic.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5716,7 +5716,7 @@
57165716
if (S(3).v()) // full-expression includes lvalue-to-rvalue and \tcode{int} to \tcode{bool} conversions,
57175717
// performed before temporary is deleted at end of full-expression
57185718
{ }
5719-
bool b = noexcept(S()); // exception specification of destructor of \tcode{S} considered for \keyword{noexcept}
5719+
bool b = noexcept(S(4)); // exception specification of destructor of \tcode{S} considered for \keyword{noexcept}
57205720

57215721
// full-expression is destruction of \tcode{s2} at end of block
57225722
}

0 commit comments

Comments
 (0)