resolve void template function