Pretty-print C++ STL containers

前端 未结 10 1736
谎友^
谎友^ 2020-11-21 07:39

Please take note of the updates at the end of this post.

Update: I have created a public project on GitHub for this library!


10条回答
  •  醉话见心
    2020-11-21 07:56

    Coming out of one of the first BoostCon (now called CppCon), I and two others worked on a library to do just this. The main sticking point was needing to extend namespace std. That turned out to be a no-go for a boost library.

    Unfortunately the links to the code no longer work, but you might find some interesting tidbits in the discussions (at least those that aren't talking about what to name it!)

    http://boost.2283326.n4.nabble.com/explore-Library-Proposal-Container-Streaming-td2619544.html

提交回复
热议问题