From f5a9d565dad28df86490b392cd5b4d763ab2a248 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Thu, 21 Jul 2011 23:17:02 +0200 Subject: Add Boost profile tests for PostgreSQL --- boost/pgsql/template/test.hxx | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 boost/pgsql/template/test.hxx (limited to 'boost/pgsql/template/test.hxx') diff --git a/boost/pgsql/template/test.hxx b/boost/pgsql/template/test.hxx new file mode 100644 index 0000000..fd4a879 --- /dev/null +++ b/boost/pgsql/template/test.hxx @@ -0,0 +1,27 @@ +// file : boost/pgsql/template/test.hxx +// author : Constantin Michael +// 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