Timeline for Insert n elements into front of std::vector with side effects
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 23 at 15:15 | comment | added | Caleth | @TobySpeight better by the posed criteria, which includes being understood by the author of the initial version | |
| Feb 22 at 17:20 | comment | added | Toby Speight |
I think you can do better than bar() - see my answer for avoiding creation of the vector of results, and for inserting (only) the successful ones when printing (or string creation) throws.
|
|
| Feb 21 at 10:13 | history | edited | Caleth | CC BY-SA 4.0 |
edited body
|
| Feb 21 at 9:52 | history | edited | Caleth | CC BY-SA 4.0 |
deleted 22 characters in body
|
| Feb 21 at 9:45 | history | answered | Caleth | CC BY-SA 4.0 |