Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Test Resource - The PMR Detective

CppNow via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

Reviews

Start your review of Test Resource - The PMR Detective

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.