std::variant & Blockchain
summary
Claims that std::variant replaces Boost.Variant/optional to simplify blockchain verification interfaces, showing concrete header excerpts and source links at http://cppnow.org/history/2019/talks/. Demonstrates using C++17 metaprogramming and compile-time polymorphism for verification to build a cache that stores strong and weak pointers and a tuple helper that removes manual index code. Result: fewer external dependencies, tighter compile-time type dispatch, presented as working example code rather than abstract promises.
AI-written summary · about
related talks
01h 00m“Enhanced Support for Value Semantics in C++17”
01h 31mDesigning a Slimmer Vector of C++ Variants
20mC++17 - The Best Features
56mC++17: The Library Features
22mEffective replacement of dynamic polymorphism with std::variant
01h 03mC++17 part 2: The Library Features
54mGeneric Programming Without (Writing Your Own) Templates
55mHow to "OO" in C++
