properly handle boost::bad_lexical_cast exceptions

This commit is contained in:
Andrzej Rybczak
2013-09-14 17:26:45 +02:00
parent 7167d036d0
commit 88a3bdb507
8 changed files with 183 additions and 83 deletions

View File

@@ -31,8 +31,6 @@ template <size_t N> size_t const_strlen(const char (&)[N]) {
return N-1;
}
bool isInteger(const char *s, bool accept_signed);
std::string getBasename(const std::string &path);
std::string getParentDirectory(const std::string &path);
std::string getSharedDirectory(const std::string &dir1, const std::string &dir2);