我正在尝试实现有限的reflection在C++中,这样我就可以调用getter和setter在存储的对象上。这是我到目前为止所做的主要代码#ifndefREFLECTION_MANAGER_HPP_#defineREFLECTION_MANAGER_HPP_#include#includetemplateclassSingleProperty{public:typedefIOType(Owner::*get_func_t)();typedefvoid(Owner::*set_func_t)(IOTypeValue);inlineSingleProperty(get_func_tGet