Rewrite does_parm_match used in template partial specialization

Re-implement this function in preparation for fixing bugs in this
function. This rewrite should result in no change in the way it
previously worked for now.
This commit is contained in:
William S Fulton 2023-01-12 08:38:17 +00:00
commit cac16bf94d
2 changed files with 37 additions and 43 deletions

View file

@ -130,9 +130,6 @@ namespace AA { // thinks X is in AA namespace
namespace Space {
}
template<typename T> struct Vector {
#ifdef SWIG
%template() Space::VectorHelper<T>;
#endif
void gook(T i) {}
void geeko(double d) {}
void geeky(int d) {}
@ -142,7 +139,6 @@ template<typename T> struct Vector<T *> {
};
*/
//}
%}
%template(VectorIntPtr) Space::Vector<int *>; // should fail as Vector is in global namespace
// is this a regression - no fails in 1.3.40 too