/* A range adapter that allows iterating over a linked list. */
-template<typename T>
+template<typename T, typename Iterator = next_iterator<T>>
class next_adapter
{
public:
{
}
- using iterator = next_iterator<T>;
+ using iterator = Iterator;
iterator begin () const
{