Write a general-purpose function that can add any number of elements to the end of a container that has a method push_back(T&& value).
19. Adding a range of values to a container
Get The Modern C++ Challenge now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.