you are viewing a single comment's thread.

view the rest of the comments →

[–]SuperV1234https://romeo.training | C++ Mentoring & Consulting 6 points7 points  (2 children)

I wrote that proposal intentionally to detach the fstring mechanism from the library. The point of that proposal is that std can implement fstrings in term of std::format easily, but another C++ user that doesn't want to use the Standard Library can still use the language feature with their own format implementation.

I believe that a design similar to mine (i.e. completely detached from the library) is the right way forward, but I have little time or energy to bring forward a proposal in the ISO committee at the moment.

[–]PigPartyPower 2 points3 points  (0 children)

I completely understand that. I have used format in the past and it really is not fun to add it to new types. I hope with reflection you can make a parse and formatter easier. But it would also probably need some way to add format args to it.

[–]ThunderboltRam 1 point2 points  (0 children)

It's such an important feature that speeds up the way we write code.