Refactoring the Env variable class: Make getValue() do the right thing
The goal was to enable a compile time check if the getValue() returns an optional or the expected datatype. By using some c++17 magic, we can actually do that if we move the required argument into the template paramters.
I also fixed a small bug in the DETECTION_VERBOSE Variable, which was set to required=true
on error.
Edited by VALENTIN SEITZ