Circular List

Overview: Templated list data structure that enables you to toggle 'wrap-around' functionality to achieve a circular list. For example, with 'wrap' enabled, calling theList.nextItem() while at the last item in the list would take you to the first item in the list. Similarly, calling theList.prevItem() while at the first item in the list would take you to the last item in the list. This data structure is perfect for menu systems, inventory systems, etc...

Features: Ability to toggle circular behavior on/off, Templated, Easily integrated into any project

Technology: C++

Download