View Single Post
Old 10th August 2017, 23:07   #2  |  Link
shekh
Registered User
 
Join Date: Mar 2015
Posts: 775
Working code:

Code:
template<bool (*T_Routine)(VDXHWND)>
static bool VDXAPIENTRY VDXStaticAboutConfigureAdapter(VDXHWND parent) {
	return T_Routine(parent);
}
Notice asterisk instead of ampersand (I cannot explain it)
__________________
VirtualDub2
shekh is offline   Reply With Quote