summaryrefslogtreecommitdiff
path: root/libcutl/cutl/meta/remove-cv.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libcutl/cutl/meta/remove-cv.hxx')
-rw-r--r--libcutl/cutl/meta/remove-cv.hxx23
1 files changed, 23 insertions, 0 deletions
diff --git a/libcutl/cutl/meta/remove-cv.hxx b/libcutl/cutl/meta/remove-cv.hxx
new file mode 100644
index 0000000..1d825da
--- /dev/null
+++ b/libcutl/cutl/meta/remove-cv.hxx
@@ -0,0 +1,23 @@
+// file : cutl/meta/remove-cv.hxx
+// copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC
+// license : MIT; see accompanying LICENSE file
+
+#ifndef CUTL_META_REMOVE_CV_HXX
+#define CUTL_META_REMOVE_CV_HXX
+
+#include <cutl/meta/remove-c.hxx>
+#include <cutl/meta/remove-v.hxx>
+
+namespace cutl
+{
+ namespace meta
+ {
+ template <typename X>
+ struct remove_cv
+ {
+ typedef typename remove_v<typename remove_c<X>::r>::r r;
+ };
+ }
+}
+
+#endif // CUTL_META_REMOVE_CV_HXX