#include <iostream>
using namespace std;

struct Test {
    template<typename T>
    static bool Function(T x)
    { 
    	return true;
    }
};



using testfn = bool (*)(int);

int main() {
	int x=0;

	testfn fnPointer = Test::Function;
	constexpr auto yourFunction = &Test::Function<int>;
	std::cout << boolalpha << fnPointer(x) << std::endl;
	std::cout << boolalpha << yourFunction(x) << std::endl;
	
	return 0;
}