- C++, C++ Quiz, CPP-forward-list, STL

How to find Size of std::forward_list in C++ STL

  #include #include using namespace std;  int main(){      forward_list l1 = { 3, 5, 6, 9, 6 };                              int size = distance(l1.begin(),                        l1.end());      cout