managarm / frigg

Lightweight C++ utilities and algorithms for system programming
MIT License
56 stars 20 forks source link

formatting: allow passing no additional arguments to frg::fmt #46

Closed ilobilo closed 1 year ago

ilobilo commented 1 year ago

This commit fixes error no member named 'get' in 'frg::tuple<>' which is thrown when no additional arguments are passed to frg::fmt Example:

frg::fmt("my text with additional {}", "args");
frg::fmt("my text"); // < error here