I have some random test parameters for which I need to calculate a hash to detect if I ran with same parameters. I might run the test using the same source recompiled at a different time or run on a different machine.
Even so I want to detect whether the same parameters were used for the run.
Does std::hash
give the same result for the same input for different compiled builds and different machines?
e.g.
std::hash<string>{}("TestcaseParamVal0.7Param0.4");
Will this always be a unique number?