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 -

What is happening when Matlab is starting a "parallel pool"? -

php - Cannot override Laravel Spark authentication with own implementation -