Hello! The following is a set of steps to reproduce the error of a bug in the writing of the wrapped code that can be reproduced in the "shapes" directory within the repository. The "wrapper_header_collection" template instantiations are not created when the total number of template replacements per substitution is 1.
Steps to reproduce:
rm -rf shapes/src/primatives
Alter shapes/wrapper/package_info.yaml to match the following diff:
diff --git a/shapes/wrapper/package_info.yaml b/shapes/wrapper/package_info.yaml
index f1cace8..d66268d 100644
--- a/shapes/wrapper/package_info.yaml
+++ b/shapes/wrapper/package_info.yaml
@@ -2,7 +2,7 @@ name: pyshapes # Unique name prepended to all modules
smart_ptr_type: std::shared_ptr
template_substitutions:
signature:
replacement: [[2], [3]]
replacement: [[2]]
modules:
name: math_funcs # Name of the module
@@ -13,9 +13,3 @@ modules:
source_locations:
classes:
Hello! The following is a set of steps to reproduce the error of a bug in the writing of the wrapped code that can be reproduced in the "shapes" directory within the repository. The "wrapper_header_collection" template instantiations are not created when the total number of template replacements per substitution is 1.
Steps to reproduce: rm -rf shapes/src/primatives Alter shapes/wrapper/package_info.yaml to match the following diff:
The run of cppwg
reports the following error: