To be honest, I would have to read the documentation a little bit more to understand the difference. Right now I am learning things the moment I need them, but I have to read a proper guide.
The problem with this is that at some point the code inside main
needs to get an instance of the user class. I am not sure on how to do this. I think the way the Catch library works is by registering each test in some kind of list, is that right? What is the best way to have the different “mains” get the instances of branch predictors they need? Maybe the question should be asked in a C++ forum instead of a CMake forum.