Namespaces
Variants
Actions

Talk:cpp/container/list/assign

From cppreference.com
< Talk:cpp‎ | container‎ | list

Shouldn't we change the example from

> std::cout << c << '\n';

to

> std::cout << c << std::endl;

Iehrlich (talk) 10:02, 31 March 2017 (PDT) iehrlich

no, that would add a lot of unnecessary work. See std::endl. --Cubbi (talk) 10:16, 31 March 2017 (PDT)
woah, thanks for the tip Iehrlich (talk) 10:35, 31 March 2017 (PDT)