Named parameter string formatting in C++

后端 未结 6 1966
甜味超标
甜味超标 2021-02-07 08:55

I\'m wondering if there is a library like Boost Format, but which supports named parameters rather than positional ones. This is a common idiom in e.g. Python, where you have a

6条回答
  •  无人及你
    2021-02-07 09:47

    The answer appears to be, no, there is not a C++ library that does this, and C++ programmers apparently do not even see the need for one, based on the comments I have received. I will have to write my own yet again.

提交回复
热议问题