diff options
Diffstat (limited to 'odb/details/shared-ptr/counter-type.hxx')
-rw-r--r-- | odb/details/shared-ptr/counter-type.hxx | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/odb/details/shared-ptr/counter-type.hxx b/odb/details/shared-ptr/counter-type.hxx new file mode 100644 index 0000000..f208a4f --- /dev/null +++ b/odb/details/shared-ptr/counter-type.hxx @@ -0,0 +1,25 @@ +// file : odb/details/shared-ptr/counter-type.hxx +// author : Boris Kolpackov <boris@codesynthesis.com> +// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef ODB_DETAILS_SHARED_PTR_COUNTER_TYPE_HXX +#define ODB_DETAILS_SHARED_PTR_COUNTER_TYPE_HXX + +#include <odb/pre.hxx> + +namespace odb +{ + namespace details + { + template <typename X> + struct counter_type + { + typedef X counter; + }; + } +} + +#include <odb/post.hxx> + +#endif // ODB_DETAILS_SHARED_PTR_COUNTER_TYPE_HXX |