cpp/ranges/view interface

is a helper class template for defining a view interface.

is typically used with CRTP: