Summary
The order in which classes are added in package_info.yml is important. This order is propagated forward to the module wrappers. Base classes come before derived classes, a class should come before other classes that refer to it etc. When there are many classes in package_info.yml, figuring out an order that works can be hit or miss by trial and error, especially when adding a new class to an existing configuration that already contains many classes.
It would be a useful feature if cppwg could automatically work out the order to include classes in. Users could add classes to package_info.yml in any order without having to manually work out an order that won't break things. Classes could be added in alphabetical order, for instance, which would make it easier to find things when manually inspecting the configuration.
Summary
The order in which classes are added in
package_info.ymlis important. This order is propagated forward to the module wrappers. Base classes come before derived classes, a class should come before other classes that refer to it etc. When there are many classes inpackage_info.yml, figuring out an order that works can be hit or miss by trial and error, especially when adding a new class to an existing configuration that already contains many classes.It would be a useful feature if cppwg could automatically work out the order to include classes in. Users could add classes to
package_info.ymlin any order without having to manually work out an order that won't break things. Classes could be added in alphabetical order, for instance, which would make it easier to find things when manually inspecting the configuration.