I have a template that works successfully when I am using a normal function definition:
function my_function(X) no_mangle
when I add the pure keyword:
pure function my_function(X) no_mangle
it seems PyF95++ no longer recognises it as a function (the no_mangle clause is not removed so I get a compiler error).
I don't know any other syntax for declaring a function pure. In this case I can just remove the no_mangle clause and things seem to work - but I guess this means it is not possible to fully template (with name mangling) pure functions or subroutines?