3 ms·
I think Rust is probably working towards features like this. They've added partial const generics only a year ago, and I'm not sure what the stance on variadic
by spoiler 4y ago
I think Rust is probably working towards features like this. They've added partial const generics only a year ago, and I'm not sure what the stance on variadic functions is, but unless they're considered bad, they might get added too.
AFAIK C++ does format string parsing at runtime (as you need to provide a parser function), but maybe it can be made constexpr? I've not written C++ for over a year now so my fluency is fleeting a bit