The first argument should be a
format_string<Args...>
to enable compile-time format string checking. And then you just inherit from format_string
and add the default source_location
argument to its constructors.