From 5aaec95bbfb066130ecac03eece3813cee61a3e1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 17 Feb 2011 14:50:11 +0200 Subject: Add test infrastructure for boost profile --- boost/mysql/template/test.hxx | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 boost/mysql/template/test.hxx (limited to 'boost/mysql/template/test.hxx') diff --git a/boost/mysql/template/test.hxx b/boost/mysql/template/test.hxx new file mode 100644 index 0000000..c89562b --- /dev/null +++ b/boost/mysql/template/test.hxx @@ -0,0 +1,27 @@ +// file : boost/mysql/template/test.hxx +// author : Boris Kolpackov +// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef TEST_HXX +#define TEST_HXX + +#include + +#pragma db object +struct object +{ + object (unsigned long id) + : id_ (id) + { + } + + object () + { + } + + #pragma db id + unsigned long id_; +}; + +#endif // TEST_HXX -- cgit v1.1