Test Resource - The PMR Detective
Offered By: CppNow via YouTube
Course Description
Overview
Explore the world of pmr::test_resource in this comprehensive conference talk from CppNow 2019. Dive into the C++17 memory resource designed for testing, which can be integrated with any test framework. Learn how this modernized version of Bloomberg's bslma::TestAllocator has been instrumental in uncovering various bugs, including memory leaks, overruns, multiple deletes, and exception-safety guarantee failures. Follow along as the presenter demonstrates the use of test_resource in detecting memory allocation-related errors, walking through code examples to showcase bug detection, diagnosis, and resolution. Gain insights into the proposal for including pmr::test_resource in the Library Fundamentals 3 TS and access the full source code for test_resource, bslma::TestAllocator, and examples on GitHub. Presented by Attila Fehér, a Senior Software Engineer at Bloomberg LP and the original proposer of C++11 alignment features, this talk offers valuable knowledge for C++ developers looking to enhance their testing practices and improve code quality.
Syllabus
test_resource: the pmr detective - Attila Fehér - CppNow 2019
Taught by
CppNow
Related Courses
Your Favorite Undefined Behavior in C++CppNow via YouTube Under the Hood - Assembly, System Calls, and Hardware in C++
CppNow via YouTube Carbon Language Successor Strategy - From C++ Interop to Memory Safety
CppNow via YouTube Value Oriented Programming Part 1 - You Say You Want to Write a Function
CppNow via YouTube Introducing a Memory-Safe Successor Language in Large C++ Code Bases
CppNow via YouTube