How to align map entries
I wonder if there is a way to align the map lines so that the colons appear vertically?
I have tried SetIndent() and SetLocalIndent(), bu开发者_运维知识库t with now visible effects.
thanks
You can't do this. Yaml-cpp writes its output as soon as it can, so it can't know if later on, you'll be using a very long key.
精彩评论