Is there a 'catch' with FastFormat?

前端 未结 6 2095
天命终不由人
天命终不由人 2021-02-05 11:16

I just read about the FastFormat C++ i/o formatting library, and it seems too good to be true: Faster even than printf, typesafe, and with what I consider a pleasing interface:<

6条回答
  •  执笔经年
    2021-02-05 11:42

    It looks pretty interesting indeed! Good tip regardless, and +1 for that!

    I've been playing with it for a bit. The main drawback I see is that FastFormat supports less formatting options for the output. This is I think a direct consequence of the way the higher typesafety is achieved, and a good tradeoff depending on your circumstances.

提交回复
热议问题