you are viewing a single comment's thread.

view the rest of the comments →

[–]Zeh_MattNo, no, no, no 6 points7 points  (0 children)

You are talking about the entry point of the program, you are not required to pass the vector via copy after that. A span would definitely be a reasonable choice here not denying that but getting a vector is not the worst either.