(C++) std::slist

January 8, 2018 · View on GitHub

 

 

 

 

 

(C++) std::slist

 

std::slist (an abbreviation of 'singly-linked list') is similar to the doubly-linked std::list, except for two things:

  • A std::slist can only be travelled in one (forward) direction, where a std::list can be travelled backwards
  • std::slist is not supplied with all STL variants, where std::list probably is

 

std::slist is not found in the STL supplied with Qt Creator.