prog.cpp: In instantiation of 'void Bheap<T, F>::insert(T, F) [with T = int; F = SomeStruct]':
prog.cpp:28:20: required from here
prog.cpp:10:23: error: no match for call to '(SomeStruct) (int&, int&)'
f(value,value);
^
prog.cpp:19:12: note: candidate is:
struct SomeStruct
^
prog.cpp:21:11: note: void SomeStruct::operator()(int)
void operator()(int){}
^
prog.cpp:21:11: note: candidate expects 1 argument, 2 provided