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