From Jason Turner
Watch on YouTube

Summary

Jason explores a five-year journey to solve a challenging constexpr problem: how to efficiently transfer compile-time string data to runtime without duplicate computation. The solution combines several advanced techniques including constexpr functions, template non-type parameters, and class non-type parameters to create right-sized static string data with optimal binary size. This pattern allows compile-time string manipulation with clean runtime access via string_view.

Resources

Tags