#include <iostream> void test_func(); bool isPrimeNum(int num); template<typename T> void swap(T &a, T &b) { T temp = a; a = b; b = temp; }