Lecture 6 - Slide 34 : 40
Selection between two types

Selection between types is supported by the struct conditional in <type_traits>

We first show an example that uses conditional - after that the struct itself is studied

cond-2.cc
An sample use of conditional.
cond-3.cc
Same - syntactically embellished.
cond-3-realistic.cc
Use of my_conditional in the example from above.
conditional-def.cc
Possible definition of conditional - here as my_conditional.
cond-4.cc
Use of my_conditional - in the example from above.