cgv
Loading...
Searching...
No Matches
if_.h
1#pragma once
2
3namespace 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}
the cgv namespace
Definition print.h:11
the if traits selects a type from a given condition type which should be cond::true_type or cond::fal...
Definition if_.h:8