Is there a 'catch' with FastFormat?

前端 未结 6 2202
天命终不由人
天命终不由人 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:47

    Is there a 'catch' with FastFormat?

    Last time I checked, there was one annoying catch:

    You can only use either the narrow string version or the wide string version of this library. (The functions for wchar_t and char are the same -- which type is used is a compile time switch.)

    With iostreams, stdio or Boost.Format you can use both.

提交回复
热议问题