Skip to content

Commit 24afb5c

Browse files
jensmaurerJohelEGP
andauthored
Apply suggestions from code review
Co-authored-by: Johel Ernesto Guerrero Peña <[email protected]>
1 parent efa3505 commit 24afb5c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/declarations.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3593,7 +3593,7 @@
35933593
a function parameter pack\iref{temp.variadic}.
35943594
An \defnadj{explicit object}{member function} is a non-static member function
35953595
with an explicit object parameter.
3596-
An \defnadj{implicit object}{member function} is non-static member function
3596+
An \defnadj{implicit object}{member function} is a non-static member function
35973597
without an explicit object parameter.
35983598

35993599
\pnum

source/expressions.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1799,7 +1799,7 @@
17991799
auto q = p(1, 'a', 3.14); // OK: outputs \tcode{1a3.14}
18001800
q(); // OK: outputs \tcode{1a3.14}
18011801

1802-
auto fact = [](this auto self, int n) -> int { // OK: explicit ject parameter
1802+
auto fact = [](this auto self, int n) -> int { // OK: explicit object parameter
18031803
return (n <= 1) ? 1 : n * self(n-1);
18041804
};
18051805
std::cout << fact(5); // OK: outputs 120

0 commit comments

Comments
 (0)