cgv
make_const.h
1 #pragma once
2 
3 #include <cgv/type/func/drop_const.h>
4 
5 namespace cgv {
6  namespace type {
7  namespace func {
8  namespace MakeConst {
9  template <typename T>
10  struct make_const_impl
11  {
12  typedef const T type;
13  };
14  template <typename T>
15  struct make_const_impl<T&>
16  {
17  typedef const T& type;
18  };
19  }
21  template <typename T>
22  struct make_const : public MakeConst::make_const_impl<typename drop_const<T>::type> {};
23  }
24  }
25 }
cgv::type::func::make_const
Definition: make_const.h:22
cgv
the cgv namespace
Definition: vr_calib.cxx:9