aboutsummaryrefslogtreecommitdiff
path: root/cutl/meta/remove-cv.hxx
blob: aa661b453d345f44a391bf7b7f3c88717423069f (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      : cutl/meta/remove-cv.hxx
// author    : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2009-2011 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