From db1e2f066393af3e58814417de5bbe7ea08a145d Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 31 Dec 2015 04:04:31 +0000 Subject: Basics working, could do with a tidy up around mocking --- libmysqlpp/my-opts.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 libmysqlpp/my-opts.h (limited to 'libmysqlpp/my-opts.h') diff --git a/libmysqlpp/my-opts.h b/libmysqlpp/my-opts.h new file mode 100644 index 0000000..e444fa8 --- /dev/null +++ b/libmysqlpp/my-opts.h @@ -0,0 +1,22 @@ +#ifndef MYSQL_OPTS_H +#define MYSQL_OPTS_H + +#include +#include +#include + +namespace MySQL { + typedef boost::optional OptString; + + DLL_PUBLIC const char * operator~(const OptString & os); +} + +namespace std { + template + DLL_PUBLIC std::istream & operator>>(std::istream & s, boost::optional & o); + template + DLL_PUBLIC std::istream & operator>>(std::istream & s, std::vector & o); +} + +#endif + -- cgit v1.2.3