I'm thinking of assigning my own unique id string to each YAML::Node
via the SetTag()
function. Is this possible, or is yaml-cpp
referencing these tags internally, and it'll get confused?
Also, is this likely to be a problem in future versions of the library?
CodePudding user response:
Yes, it's possible!The yaml-cpp tags are intended for this purpose.
Also, is this likely to be a problem in future versions of the library?
It should not create problem in the future version of the library, but for safety you can ask a question to the mantainer on the github repo of the library opening an issue or a discussion if possible.