PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ validate_format_string()

std::string void pism::validate_format_string ( const std::string &  format)

Validate a format string. In this application a format string should contain % exactly once, followed by s (i.e. s).

Throws RuntimeError if the provided string is invalid.

Definition at line 435 of file pism_utilities.cc.

References pism::RuntimeError::formatted(), and PISM_ERROR_LOCATION.