blob: 190e393ee29094e9d695f590c3d1c313c4512017 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// file : cult/meta/remove-cv.hxx
// author : Boris Kolpackov <boris@kolpackov.net>
// copyright : Copyright (c) 2005-2010 Boris Kolpackov
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef CULT_META_REMOVE_CV_HXX
#define CULT_META_REMOVE_CV_HXX
#include <cult/meta/remove-c.hxx>
#include <cult/meta/remove-v.hxx>
namespace Cult
{
namespace Meta
{
template <typename X>
struct remove_cv
{
typedef typename remove_v<typename remove_c<X>::R>::R R;
};
}
}
#endif // CULT_META_REMOVE_CV_HXX
|