Choose between two types or values depending on a constant Boolean. More...
Choose between two types or values depending on a constant Boolean.
The classical static_if cannot choose between a type T and void because of its choose () methods which take references. This one is much simpler and require no conditions on types. However, it has no choose method.