def METHOD_NAME(self):
    if self.settings.compiler.get_safe("cppstd"):
        check_min_cppstd(self, self._min_cppstd)
    minimum_version = self._compilers_minimum_version.get(str(self.settings.compiler), False)
    if minimum_version:
        if Version(self.settings.compiler.version) < minimum_version:
            raise ConanInvalidConfiguration("h5pp requires C++17, which your compiler does not support.")
    else:
        self.output.warning("h5pp requires C++17. Your compiler is unknown. Assuming it supports C++17.")