cutl/meta/remove-v.hxx
raw| 1 | // file : cutl/meta/remove-v.hxx |
| 2 | // copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC |
| 3 | // license : MIT; see accompanying LICENSE file |
| 4 | |
| 5 | #ifndef CUTL_META_REMOVE_V_HXX |
| 6 | #define CUTL_META_REMOVE_V_HXX |
| 7 | |
| 8 | namespace cutl |
| 9 | { |
| 10 | namespace meta |
| 11 | { |
| 12 | template <typename X> |
| 13 | struct remove_v |
| 14 | { |
| 15 | typedef X r; |
| 16 | }; |
| 17 | |
| 18 | template <typename X> |
| 19 | struct remove_v<X volatile> |
| 20 | { |
| 21 | typedef X r; |
| 22 | }; |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | #endif // CUTL_META_REMOVE_V_HXX |