#include <iostream> #include <list> int main() { std::list<int> mylist; std::cout << "Max size of the list: " << mylist.max_size() << std::endl; return 0; }