-
Book Overview & Buying
-
Table Of Contents
Rust for C++ Developers
By :
In this chapter, we explored the general topic of Rust macros, starting with traditional sources of unsafety and misuse in macro systems and showing how Rust chooses to avoid these problems. We then constructed an example macro of each type allowed by Rust, learning how to work not only with macro_rules! but also with the syn and quote crates. Finally, we explored some best practices around macro usage.
In the final chapter, we'll conclude our exploration of Rust and talk about some potential next steps to take on our learning journey.
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't require an invoice.