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

YouTube

Dynamic C++

CppNow via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the world of dynamic C++ in this comprehensive conference talk from CppNow. Dive into the challenges of handling diverse data types and datatype conversion in C++ programming. Learn how to effectively transfer data between different formats like relational databases, XML, JSON, and HTML while navigating C++'s type checking mechanism. Discover various type erasure techniques and compare popular C++ type erasure solutions, including historical approaches like ANSI C union, void*, MS COM Variant, and Boost libraries, as well as recent developments such as boost::type_erasure and Facebook's folly::dynamic. Examine the internals, design, capabilities, pros, and cons of solutions like boost::variant, boost::any, boost::type_erasure, folly::dynamic, and Poco::Dynamic. Gain insights into performance benchmarks and understand the balance between C++'s type safety and the necessity of type erasure in modern software development. Through detailed explanations and code examples, master the art of implementing dynamic data storage, operations support, and advanced techniques like variants, visitors, and placeholders in C++.

Syllabus

Introduction
Dynamic C
Existing Solutions
We need good libraries
Quality
Concerns
Dynamic Data Storage
Dynamic Data Operations Support
Ingredients
Variant
Visitors
Variant constructor
Variant storage
Variant summary
Variant not any
Comments
RelaxMatch
Placeholders
Conversion
Binding
Good catch
Storage
Summary
Facebook Dynamic

Taught by

CppNow

Reviews

Start your review of Dynamic C++

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.