// CPP program to illustrate
// Implementation of size() function
#include <iostream>
#include <list>
using namespace std;
int main()
{
list<int> mylist{ 1, 2, 3, 4, 5 };
cout << mylist.size();
return 0;
}
// CPP program to illustrate
// Implementation of size() function
#include <iostream>
#include <list>
using namespace std;
int main()
{
list<int> mylist{ 1, 2, 3, 4, 5 };
cout << mylist.size();
return 0;
}