test yaml-cpp 0.5.3 issue -


i tried know yaml rules.
, init.yaml file this:

name: ryan braun position: lf 

main code:

int main() {     yaml::node node = yaml::loadfile("init.yaml");     cout << node.type() << endl;    return 0; }   

this simple example, want see node's type. should map described in how emit yaml. output 0, means undefined. makes me confused. maybe misunderstand.
suggestions thankful.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -