September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
|
|
@ -1 +0,0 @@
|
|||
const i = 5; static if (i == 7) { ... } else { ... }
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
auto i = 5;
|
||||
// is(T: U) tests if T is implicitly castable to U.
|
||||
// typeof(var) is the type of the variable.
|
||||
// also: is(T==U) checks if T is U.
|
||||
static if (is(typeof(i) : int)) {
|
||||
...
|
||||
} else {
|
||||
...
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue