nested template function inside templated class in permutation.h

This commit is contained in:
2025-10-17 16:40:15 +02:00
parent cbb6f0116c
commit 2cd5608e30
2 changed files with 19 additions and 0 deletions

View File

@@ -2077,6 +2077,11 @@ for(int i=1; i<ngroups; ++i) r= r&lists[i];
return r;
}
//DOES NOT WORK template<typename T,typename U>
template<typename T> template <typename U> //this works
void NRPerm<T>::testik(U u)
{
}
/***************************************************************************//**
* forced instantization in the corresponding object file