From 47e38764ebc759c0884921cfb594a215a88dcb98 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 5 Sep 2012 11:59:27 +0200 Subject: Support for Boost uuid persistence New Boost sub-profile: uuid. New test: boost/common/uuid. Updated the boost example to use uuid as an object id. --- boost/driver.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'boost/driver.cxx') diff --git a/boost/driver.cxx b/boost/driver.cxx index d38eb15..5a096f6 100644 --- a/boost/driver.cxx +++ b/boost/driver.cxx @@ -4,6 +4,8 @@ #include // std::auto_ptr #include +#include + #include #include #include @@ -124,7 +126,8 @@ main (int argc, char* argv[]) cout << " email: " << *j << endl; } - cout << endl; + cout << " id: {" << p->id () << '}' << endl + << endl; } t.commit (); -- cgit v1.1