Loading…
CppCon 2014 has ended
Back To Schedule
Thursday, September 11 • 8:30pm - 9:15pm
How one might build a compile time format library

Log in to save this to your schedule, view media, leave feedback and see who's attending!

: there are some interesting challenges that one may run into building a compile time format library. In specific, I want to share techniques to answer these questions.

1. How can we pass a constant expression to a metafunction and retain its const-ness? This is easy if the expression is an integral, it gets more difficult when we have types such as const char * or std::tuple.

2. Can we get reasonable error messages? I share a technique to use a combination of SFINAE and static_assert to get cleaner error messages. Namely, we don't want to see all the candidates of operator<<.

I hope you can join me to explore these techniques :)


Speakers
avatar for Michael Park

Michael Park

Software Engineer, Facebook
I'm a software engineer at Facebook, working on the C++ libraries and standards team. My focus for C++ is to introduce pattern matching to facilitate better code.


Thursday September 11, 2014 8:30pm - 9:15pm PDT
Leibnitz

Attendees (0)