File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 3593
3593
a function parameter pack\iref {temp.variadic }.
3594
3594
An \defnadj {explicit object}{member function} is a non-static member function
3595
3595
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
3597
3597
without an explicit object parameter.
3598
3598
3599
3599
\pnum
Original file line number Diff line number Diff line change 1799
1799
auto q = p(1, 'a' , 3.14); // OK: outputs \tcode {1a3.14}
1800
1800
q(); // OK: outputs \tcode {1a3.14}
1801
1801
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
1803
1803
return (n <= 1) ? 1 : n * self(n-1);
1804
1804
};
1805
1805
std::cout << fact(5); // OK: outputs 120
You can’t perform that action at this time.
0 commit comments