
Constructing views in Modern C++. A Practical Guide.
C++20 views are not limited to the adaptors provided by the standard library. When an operation cannot be expressed through their composition, you can implement a custom view.
This article demonstrates the process by building a lazy, SAX-like XML parser. Along the way, it explains how views, iterators, and sentinels work together, which standard concepts they must satisfy, and how to make a custom view compatible with range-based loops and standard views.








