Commit 16c6db6
committed
Remove explicit return type of the
Because infering the return type from the template parameters is a
sizeable portion of the function implementation. So using an `auto` type
tells the compiler that the type is in the return statement and saves us
duplicating the same work in two places.ranget::map function1 parent ea77c96 commit 16c6db6
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
421 | | - | |
422 | | - | |
423 | | - | |
| 421 | + | |
424 | 422 | | |
425 | 423 | | |
426 | 424 | | |
| |||
0 commit comments