C++: Set C++ version (14, 17, ...) to execute checks for

A post was split to a new topic: S3630 is raised on C++17 project