Would it be possible to have the members of the various ModuleConfig derived classes be public (as some but not all of them are already)?
It was apparently planned to have something beyond the ModuleConfig::set_property interface that would allow clients to directly assign to ModuleConfig members, although I'm not sure what is the significance of "weak linkage" here. I personally would be happy just being able to assign to the members directly (perhaps after downcasting the result of get_module_config), and it would be really nice to be able to construct new objects of these types just to have ordinary value semantics. (This last point is already technically possible.)
Would it be possible to have the members of the various
ModuleConfigderived classes be public (as some but not all of them are already)?It was apparently planned to have something beyond the
ModuleConfig::set_propertyinterface that would allow clients to directly assign toModuleConfigmembers, although I'm not sure what is the significance of "weak linkage" here. I personally would be happy just being able to assign to the members directly (perhaps after downcasting the result ofget_module_config), and it would be really nice to be able to construct new objects of these types just to have ordinary value semantics. (This last point is already technically possible.)