December 22, 2022 Genel » Re: Acemice UTF ile Dans | |||
|---|---|---|---|
| |||
...β€$ elma";
> auto b = s.walkToFirstSpace(a);
> //assert (b == 3);
> writefln ("[%s]", s[a..a... | |||
December 22, 2022 Genel » Re: Acemice UTF ile Dans | |||
|---|---|---|---|
| |||
...β€$ elma";
auto b = s.walkToFirstSpace(a);
//assert (b == 3);
writefln ("[%s]", s[a..a... | |||
December 20, 2022 Issues » [Issue 23272] [REG2.099] CTFE error of typeid comparison == | |||
|---|---|---|---|
| |||
...idiot.
---
void foo()
{
auto validate()
{
assert(typeid(int) != typeid(string));
return true;
}
static assert(validate);
}
-- | |||
December 20, 2022 Issues » [Issue 23272] [REG2.099] CTFE error of typeid comparison == | |||
|---|---|---|---|
| |||
...s;
auto t = caseOfTemplated!(a => typeid(a))(s) == typeid(string);
return true;
}
static assert(validate);
}
-- | |||
December 20, 2022 Issues » [Issue 23272] [REG2.099] CTFE error of typeid comparison == | |||
|---|---|---|---|
| |||
...SumType!(int) s;
caseOfTemplated!(a => typeid(a))(s) == typeid(string);
return true;
}
static assert(validate);
}
-- | |||
December 20, 2022 Issues » [Issue 23570] New: UDAs do not carry over in foreach over tupleof | |||
|---|---|---|---|
| |||
...symbol; f.tupleof)
{
static assert(hasUDA!(symbol, UDA)); // fails
static assert(hasUDA!(f.tupleof[i... | |||
December 19, 2022 Issues » [Issue 22374] [REG 2.093] 'import std;' with -checkaction=context causes link error | |||
|---|---|---|---|
| |||
...char)[] core.internal.dassert._d_assert_fail!(bool)._d_assert_fail(scope const(immutable(char... | |||
December 19, 2022 Learn » Re: No need opUnary | |||
|---|---|---|---|
| |||
...opOpAssign. */
a += 10; // :
/* This result makes sense. */
assert(a == 21);
writeln("\n--");
writeln(-b); // 1... | |||
December 19, 2022 General » Re: Actual immutability enforcement by placing immutable data into read-only sections | |||
|---|---|---|---|
| |||
...typeof(e)));
throw e;
} catch (Exception e) {
assert(e.msg == "test");
}
}
```
```
==3369== Invalid write of... | |||
December 19, 2022 Issues » [Issue 17378] Allow multiple arguments for assert and static assert | |||
|---|---|---|---|
| |||
...14611 "Allow multiple message arguments for static assert" was merged into master: - 1f9bc7d78aa34e2c6fbd84901d6558829d3e1127 by Nicholas... | |||
Copyright © 1999-2021 by the D Language Foundation