aboutsummaryrefslogtreecommitdiff
path: root/odb/details/meta/remove-cv.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/details/meta/remove-cv.hxx')
-rw-r--r--odb/details/meta/remove-cv.hxx27
1 files changed, 27 insertions, 0 deletions
diff --git a/odb/details/meta/remove-cv.hxx b/odb/details/meta/remove-cv.hxx
new file mode 100644
index 0000000..958fc08
--- /dev/null
+++ b/odb/details/meta/remove-cv.hxx
@@ -0,0 +1,27 @@
+// file : odb/details/meta/remove-cv.hxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#ifndef ODB_DETAILS_META_REMOVE_CV_HXX
+#define ODB_DETAILS_META_REMOVE_CV_HXX
+
+#include <odb/details/meta/remove-c.hxx>
+#include <odb/details/meta/remove-v.hxx>
+
+namespace odb
+{
+ namespace details
+ {
+ namespace meta
+ {
+ template <typename X>
+ struct remove_cv
+ {
+ typedef typename remove_v<typename remove_c<X>::r>::r r;
+ };
+ }
+ }
+}
+
+#endif // ODB_DETAILS_META_REMOVE_CV_HXX