]> git.tdb.fi Git - libs/core.git/blobdiff - source/strings/lexicalcast.h
Make lexical conversions from and to long long available everywhere
[libs/core.git] / source / strings / lexicalcast.h
index 5d580806631f3c4c7fc964d39d30f065896f783f..12b5d08a1c9e3689f8ada501bc63a33931c9052d 100644 (file)
@@ -16,7 +16,6 @@ class lexical_error: public std::runtime_error
 {
 public:
        lexical_error(const std::string &w): runtime_error(w) { }
-       virtual ~lexical_error() throw() { }
 };
 
 
@@ -27,7 +26,6 @@ class format_mismatch: public lexical_error
 {
 public:
        format_mismatch(const std::string &w): lexical_error(w) { }
-       virtual ~format_mismatch() throw() { }
 };
 
 
@@ -60,10 +58,8 @@ void operator<<(LexicalConverter &, unsigned char);
 void operator<<(LexicalConverter &, unsigned short);
 void operator<<(LexicalConverter &, unsigned);
 void operator<<(LexicalConverter &, unsigned long);
-#ifdef __GNUC__
 void operator<<(LexicalConverter &, long long);
 void operator<<(LexicalConverter &, unsigned long long);
-#endif
 void operator<<(LexicalConverter &, bool);
 void operator<<(LexicalConverter &, float);
 void operator<<(LexicalConverter &, double);
@@ -81,10 +77,8 @@ void operator>>(const LexicalConverter &, unsigned char &);
 void operator>>(const LexicalConverter &, unsigned short &);
 void operator>>(const LexicalConverter &, unsigned int &);
 void operator>>(const LexicalConverter &, unsigned long &);
-#ifdef __GNUC__
 void operator>>(const LexicalConverter &, long long &);
 void operator>>(const LexicalConverter &, unsigned long long &);
-#endif
 void operator>>(const LexicalConverter &, bool &);
 void operator>>(const LexicalConverter &, float &);
 void operator>>(const LexicalConverter &, double &);