How are attributes parsed in Boost.PropertyTree?

前端 未结 2 490
故里飘歌
故里飘歌 2021-02-05 06:06

Say I have this XML format:


   
      dostuff();
   
         


        
2条回答
  •  心在旅途
    2021-02-05 06:13

    If xml has such content:

    mode xxx
    

    Use boost::property code:

    get("mode..fullscreen") 
    

    Oh yeah, it's ugly!

提交回复
热议问题