From Jason Turner
Watch on YouTube

Summary

Following up on his previous episode comparing std::pair to a custom implementation, Jason Turner outlines three steps for effectively trusting the C++ standard library. He emphasizes the importance of understanding what the library does by examining documentation, knowing what operations might allocate memory, and recognizing which types have constructors versus direct initialization. Jason also highlights the extensive testing that standard libraries undergo and demonstrates how examining the source code can provide insights into implementation decisions.

Resources

Tags