CppCon 2014 has ended
View analytic
Thursday, September 11 • 8:30pm - 9:15pm
How one might build a compile time format library

Log in to save this to your schedule 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 :)

avatar for Michael Park

Michael Park

Software Engineer, Mesosphere
I’m a committer for the Apache Mesos project, and work as a Distributed Systems Engineer at Mesosphere. Within the realm of computer science, I’m very much intrigued by language design, compiler construction, and distributed systems. I’m also an active member of the ISO C... Read More →

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

Attendees (0)