diff options
Diffstat (limited to 'libodbcpp/string.h')
-rw-r--r-- | libodbcpp/string.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libodbcpp/string.h b/libodbcpp/string.h new file mode 100644 index 0000000..d3c4d41 --- /dev/null +++ b/libodbcpp/string.h @@ -0,0 +1,21 @@ +#ifndef ODBC_STRING_H +#define ODBC_STRING_H + +#include <string> + +namespace ODBC { + class String : public std::basic_string<unsigned char> { + public: + String(const unsigned char *); + String(const char *); + String(std::basic_string<unsigned char>); + String(std::basic_string<char>); + String(); + operator unsigned char *() const; + + static String Format(const char *, ...); + }; +} + +#endif + |