-
Book Overview & Buying
-
Table Of Contents
Rust for C++ Developers
By :
We've now learned a great deal about the Rust iterator API. We discovered that iterators are structures that implement the iterator trait and learned how to both write our own iterators and create them from existing containers. We then examined a number of ways to consume iterators, including collecting them into a new container. We also examined adapters and how they allow us to combine iterators to create powerful expressions. Then, we took an extensive tour through the implementation of an iterator expression to see why compilers are able to optimize them efficiently.
In the next chapter, we'll look into Rust's take on one of the most popular programming paradigms: object orientation.
Scan the QR code (or go to packtpub.com/unlock). Search for this book by name, confirm the edition, and then follow the steps on the page.


Note: Keep your invoice handy. Purchases made directly from Packt don...