I had to rewrite programs to make that work with a template. I have done this, but in the directions it says I need to specify requirements on the template parameter type, and discuss the requirements on the template parameter type. I'm not exactly sure what I am supposed to do here. Could anyone help me with what this exactly means?
The template is used in an iterative and recursive binary search function.
I think the question is asking you do specify what kinds of types you should put in for the template parameter; i.e., what data types would be appropriate for T?