summaryrefslogtreecommitdiff
path: root/libodbcpp/ustring.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2008-11-13 14:45:11 +0000
committerrandomdan <randomdan@localhost>2008-11-13 14:45:11 +0000
commitefd292508070835781a0d92448a3661279dfd307 (patch)
tree0d2592bacfdb0cd159ebc5780dd69f86cc893af0 /libodbcpp/ustring.h
parentFix the C++ template errors (diff)
downloadlibdbpp-odbc-efd292508070835781a0d92448a3661279dfd307.tar.bz2
libdbpp-odbc-efd292508070835781a0d92448a3661279dfd307.tar.xz
libdbpp-odbc-efd292508070835781a0d92448a3661279dfd307.zip
Lots of little fixes
Diffstat (limited to 'libodbcpp/ustring.h')
-rw-r--r--libodbcpp/ustring.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/libodbcpp/ustring.h b/libodbcpp/ustring.h
new file mode 100644
index 0000000..d3c4d41
--- /dev/null
+++ b/libodbcpp/ustring.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
+