nickpelling / C_STD

C implementation of the standard container library
MIT License
18 stars 1 forks source link

Add singly-linked list container #37

Closed nickpelling closed 5 months ago

nickpelling commented 6 months ago

Note that the header should track the most recently added list item, so that you can do push_front / pop_front AND push_back (e.g. for circular queues). Call this "std_forward_list" to match C++ (even though std::forward_list only allows push_front / pop_front), rather than STL's "slist".

nickpelling commented 5 months ago

Still need to write test code for insert_before/insert_after/erase!

nickpelling commented 5 months ago

Done