Exercises: Fix subtask indentation
This commit is contained in:
parent
99fe87a72a
commit
0604cc9d00
@ -200,8 +200,8 @@ For the functional programming nerds, the definition of this function would be s
|
|||||||
Write your function in different ways and compare the readability:
|
Write your function in different ways and compare the readability:
|
||||||
- use a range-based for loop
|
- use a range-based for loop
|
||||||
- use `std::transform`
|
- use `std::transform`
|
||||||
- use a lambda expression
|
- use a lambda expression
|
||||||
- use `std::mem_fn`
|
- use `std::mem_fn`
|
||||||
|
|
||||||
Think about taking the argument by value instead of taking it by const reference.
|
Think about taking the argument by value instead of taking it by const reference.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user