Submission of exercise 3
Submission 3 (sorry for the delay)
Is there a way to use template programming in a OOP way? I know that the compiler needs to know the type to instantiate when we're working with templates, but I still don't get why I can't define my template function with headers and source files and then use those in main.cpp as we usually do in C++. In our case, my solution doesn't work if I don't explicitly put the function that computes the machine epsilon (machine_epsilon()) in main.cpp. What am I missing?