Top "Forward-list" questions

A forward_list (a singly-linked list) is a c++ STL Container, which is basically a list optimized for empty and very short lists.

std::forward_list and std::forward_list::push_back

I'd like to use std::forward_list Because: Forward list is a container which supports fast insertion and removal of …

c++ c++11 std forward-list
When to use C++ forward_list

I am kind of new to C++, and reading the book "The C++ Programming Language (4th edition)". When reading chapter …

c++ stl containers forward-list
C++ STL - Why std::forward_list has no size() method?

I have been using C++11's forward_list as a container for fast insertions, without much memory overhead, since it …

c++ c++11 stl forward-list