简体   繁体   中英

Boost XML parser c++

I'm trying to use

BOOST_FOREACH(ptree::value_type &v,pt.get_child("")) m_modules.insert(v.second.data());

but I get this Error- error: expected primary-expression before '&' token"

How can i Fix it?

无路可退

#include <boost/foreach.hpp>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM