cgv
Loading...
Searching...
No Matches
drop_ref.h
1#pragma once
2
3namespace cgv {
4 namespace type {
5 namespace func {
6
8template <typename T>
9struct drop_ref
10{
12 typedef T type;
13};
15template <typename T>
16struct drop_ref<T&>
17{
19 typedef T type;
20};
21
22 }
23 }
24}
the cgv namespace
Definition print.h:11
T type
define type without reference
Definition drop_ref.h:19
the drop ref template defines a type without reference modifier
Definition drop_ref.h:10
T type
define value type
Definition drop_ref.h:12