diff options
Diffstat (limited to 'libodb/odb/details/shared-ptr/counter-type.hxx')
-rw-r--r-- | libodb/odb/details/shared-ptr/counter-type.hxx | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libodb/odb/details/shared-ptr/counter-type.hxx b/libodb/odb/details/shared-ptr/counter-type.hxx new file mode 100644 index 0000000..2b6caad --- /dev/null +++ b/libodb/odb/details/shared-ptr/counter-type.hxx @@ -0,0 +1,23 @@ +// file : odb/details/shared-ptr/counter-type.hxx +// 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 |