Practice ยท 2 of 3
A Fixed Ring from an NTTP
Finish Ring<N>: push writes at head_ % N and advances head_ (wrapping is the point), capacity() returns N. The test wraps around the buffer edge to prove it.
Difficulty: advanced
Press Submit to check your solution.
Back to lesson: Practice: if constexpr and NTTPs