cgv
if_.h
1 #pragma once
2 
3 namespace cgv {
4  namespace type {
5  namespace ctrl {
7  template <bool condition_type, typename then_type, typename else_type>
8  struct if_ {
9  typedef then_type type;
10  };
11  template <typename then_type, typename else_type>
12  struct if_<false,then_type,else_type> {
13  typedef else_type type;
14  };
15  }
16  }
17 }
cgv::type::ctrl::if_
the if traits selects a type from a given condition type which should be cond::true_type or cond::fal...
Definition: if_.h:8
cgv
the cgv namespace
Definition: vr_calib.cxx:9