Fun with Boost.Hana
Offered By: CppNow via YouTube
Course Description
Overview
Explore advanced metaprogramming techniques using Boost.Hana in this comprehensive conference talk from C++Now 2017. Dive deep into real-world use cases, including an event-triggering system and a type erasure library, to understand how Hana can elegantly solve complex metaprogramming problems. Learn to leverage modern metaprogramming to define expressive interfaces, automate repetitive tasks, and increase code maintainability. Gain insights into Hana's interaction with the C++ type system, compile-time computations, and pattern matching. Discover how to implement features like dimensional analysis, user-defined literals, and compile-time strings using Hana's powerful abstractions. Suitable for developers with some familiarity with Boost.Hana who want to deepen their understanding and see practical applications of the library.
Syllabus
Introduction
Slice as an object
Fusion
Map
Spirit
compiledlinelife information
basic parser
literal parser
combined parser
dont copypaste
minimal dimensional analysis library
attach units to quantities
compiletime integers
integral constant
quantity
dimension
constructor
compose
even
compiletime strings
userdefined literal
even system
pattern match
callback
trigger
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