static cur_vec test_read_cur(const FilePath& filePath){
  return read_cur(filePath).Visit(
    [&](const cur_vec& cursors){
      return cursors;
    },
    [&](const utf8_string& error) -> cur_vec{
      ABORT_TEST(filePath.Str().c_str(), error.c_str());
    });
}
예제 #2
0
  std::string iostream_friendly(const FilePath& path){
    return path.Str().str();
}
예제 #3
0
std::wstring iostream_friendly(const FilePath& path){
  return iostream_friendly(to_wx(path.Str()));
}