Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79899 - sandbox/icl/libs/xplore/br1/sqlbrowser/util
From: afojgo_at_[hidden]
Date: 2012-08-07 05:27:42


Author: jofaber
Date: 2012-08-07 05:27:41 EDT (Tue, 07 Aug 2012)
New Revision: 79899
URL: http://svn.boost.org/trac/boost/changeset/79899

Log:
Refactoring data access layer.
Added:
   sandbox/icl/libs/xplore/br1/sqlbrowser/util/SharedPtr.h (contents, props changed)

Added: sandbox/icl/libs/xplore/br1/sqlbrowser/util/SharedPtr.h
==============================================================================
--- (empty file)
+++ sandbox/icl/libs/xplore/br1/sqlbrowser/util/SharedPtr.h 2012-08-07 05:27:41 EDT (Tue, 07 Aug 2012)
@@ -0,0 +1,19 @@
+/****************************************************************************
+**
+**
+****************************************************************************/
+
+#pragma once
+
+#include <boost/shared_ptr.hpp>
+
+
+typedef QVector<QVariant> tVariVector;
+typedef boost::shared_ptr<tVariVector> tSharedData;
+
+template<class Type, class Arg1>
+boost::shared_ptr<Type> makeShared(const Arg1& arg1)
+{
+ return boost::shared_ptr<Type>(new Type(arg1));
+}
+


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk