We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
The implementation of List::front() is wrong. I think it should be T& front() { return static_cast<Link<T>*>(first)->val; }
List::front()
T& front() { return static_cast<Link<T>*>(first)->val; }