Google AI Professional Certificate - Learn AI Skills That Get You Hired
Learn Excel & Financial Modeling the Way Finance Teams Actually Use Them
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Learn to optimize C++ performance by eliminating unnecessary temporary object creation in this conference talk from C++Now 2025. Discover practical strategies for reducing resource usage and improving code efficiency through real-world examples and best practices identified during professional code reviews. Explore techniques for optimizing commonly used types including std::string and std::vector, then extend to other STL types such as std::pair, std::tuple, std::optional, std::expected, std::variant, std::initializer_list, and various sequence and associative containers. Master the use of transparent comparators to avoid costly operations and learn to move constant objects with global lifetimes to compile-time data structures. Gain actionable insights through comprehensive code demonstrations that show these optimization principles in practice, equipping you with immediately applicable techniques to enhance the efficiency of your C++ codebases and reduce unnecessary resource consumption in production environments.
Syllabus
Streamlining C++ Code - Avoiding Unnecessary C++ Object Creation - C++Now 2025
Taught by
CppNow