Exemple #1
0
static function<bool(string&)> cfg_path(string &ref) {
  return [&ref](string &line) -> bool {
    clearpath(line);
    ref = move(line);
    return true;
  };
}
Exemple #2
0
 string makepath(string const & path1, string const & path2) {
   return clearpath(path1 + PATH_DIR_SEP + path2);
 }
Exemple #3
0
static bool cfg_database(std::string &line) {
  clearpath(line);
  opt_default_db = line;
  return true;
}