Closed dellaert closed 6 months ago
@dellaert I was fixing some other things for my work and came across this.
The second point seems to have been fixed already. I ran a quick unit test and the namespace is being added correctly, so yay! Regarding the first point, @gchenfc makes a good point in #153 where making this change is
I am more concerned about the second one, a simple case being size_t
vs uint32
.
I am closing this for now since the major bug has been resolved and the free function templating is a matter of design which would need a design review with @dellaert and other parties involved.
I think the global function templating is broken. It should not add the type to the function name (just create the overload for the function), and it also omits the namespace in the code, leading to a compile error
Instead of
It should be