Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我喜欢使用属性语法直接解析输入字符串并在struct将其调整为随机访问序列后填写 a 的想法,BOOST_FUSION_ADAPT_STRUCT并且想知道是否可以调整具有私有成员和 setter/getter 函数的类以使其行为方式相同?
struct
BOOST_FUSION_ADAPT_STRUCT
正如 sehe 所指出的,我正在寻找 BOOST_FUSION_ADAPT_ADT。