Timeline for Representing destinations in a square
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 2, 2018 at 12:28 | vote | accept | agneau | ||
| May 1, 2018 at 20:19 | history | edited | JDługosz | CC BY-SA 3.0 |
add ctor example based on comments
|
| May 1, 2018 at 18:35 | comment | added | JDługosz |
Just pass the vector as a single parameter. (In fact, this will be a “sink” parameter so pass by value and move in the initialization list.) Salesman Willy{start, v};
|
|
| May 1, 2018 at 13:55 | comment | added | agneau | thank you for your insights, I hadn't thought about the uselessness of the nested for! I'll try to renew my dialect. I gave to the constructor of salesman iterators of a vector because it seemed to me the easiest way to define his protected member | |
| May 1, 2018 at 12:56 | history | edited | JDługosz | CC BY-SA 3.0 |
added 426 characters in body
|
| May 1, 2018 at 12:46 | history | edited | JDługosz | CC BY-SA 3.0 |
added 426 characters in body
|
| May 1, 2018 at 12:32 | history | edited | JDługosz | CC BY-SA 3.0 |
added 426 characters in body
|
| May 1, 2018 at 12:24 | history | answered | JDługosz | CC BY-SA 3.0 |