Commit 256896b
committed
[temp.func.order] Explicitly specify to only add extra first argument if we don't have an explicit object argument
In [temp.func.order] paragraph 3, it is written that we need to add a new first parameter for all member functions for the purposes of template deduction. However, it only makes sense if we don't have an explicit object parameter.
If we have an explicit object parameter, we shouldn't add a new (implicit) first parameter because our first parameter is explicitly written.1 parent 6ecda0b commit 256896b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3904 | 3904 | | |
3905 | 3905 | | |
3906 | 3906 | | |
3907 | | - | |
| 3907 | + | |
3908 | 3908 | | |
3909 | 3909 | | |
3910 | 3910 | | |
| |||
0 commit comments