Task: Implement a Circular Iterator Adapter for C++ Standard Containers
Task: Implement a Circular Iterator Adapter for C++ Standard Containers: a task in Terminal-Lego-15k (Harbor dataset). In C++, there's no standard implementation of a circular list or circular iterator. Your task is to implement a circular iterator adapter that wraps around any standard…
The task
In C++, there's no standard implementation of a circular list or circular iterator. Your task is to implement a **circular iterator adapter** that wraps around any standard container's iterator, automatically returning to the beginning when it reaches the end.
Part of PrimeIntellect/Terminal-Lego-15k.