diff options
Diffstat (limited to 'libcutl/meta/remove-v.hxx')
-rw-r--r-- | libcutl/meta/remove-v.hxx | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/libcutl/meta/remove-v.hxx b/libcutl/meta/remove-v.hxx new file mode 100644 index 0000000..97439c3 --- /dev/null +++ b/libcutl/meta/remove-v.hxx @@ -0,0 +1,25 @@ +// file : libcutl/meta/remove-v.hxx +// license : MIT; see accompanying LICENSE file + +#ifndef LIBCUTL_META_REMOVE_V_HXX +#define LIBCUTL_META_REMOVE_V_HXX + +namespace cutl +{ + namespace meta + { + template <typename X> + struct remove_v + { + typedef X r; + }; + + template <typename X> + struct remove_v<X volatile> + { + typedef X r; + }; + } +} + +#endif // LIBCUTL_META_REMOVE_V_HXX |