clones the specified tuple and replace its contents
None
None
The first argument is used as a prototype which supplies the methods for the newly created tuple. All items of the prototype tuple are replaced with the specified items. You must supply as many items as the prototype tuple contains.
Arguments: prototype # the prototype for the new list first_item ... last_item
std::new | creates a new collection with inherited attributes |
std::list | constructs a list from its arguments |