Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the concept of views in C++17 through this conference talk from C++Now 2018. Dive into the complexities, pitfalls, and benefits of using views as fundamental building blocks in software design. Learn how views can enhance performance, create cleaner abstractions, and improve code readability. Examine the design, implementation, and usage of both standard library and user-specific views. Discover various types of views, including basic views, generators, ropes, transforms, and filters. Gain insights on when and how to use views effectively in your C++ projects. Benefit from Peter Bindels' expertise as he rethinks common programming concepts and explores new ideas in C++ development.
Syllabus
Intro
A view to a view
What is this presentation?
Terminology
Why views?
Maximize the amount of work not done
Much more readable code
Lifetime and ownership
Views and iterator types
What kinds of views are there?
Basic view types
Generators
Rope - Parsing code
Transform
Filter
Thinking with views
When to use views
How to make a simple view
Taught by
CppNow