From 14ca0adb63a48e5bc14a4a2b84e0d108be6dfdd1 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Fri, 1 Apr 2011 18:08:51 +0200 Subject: Add SQLite-specific tests for Boost profile --- boost/sqlite/template/test.hxx | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 boost/sqlite/template/test.hxx (limited to 'boost/sqlite/template/test.hxx') diff --git a/boost/sqlite/template/test.hxx b/boost/sqlite/template/test.hxx new file mode 100644 index 0000000..b6cd18e --- /dev/null +++ b/boost/sqlite/template/test.hxx @@ -0,0 +1,27 @@ +// file : boost/sqlite/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