June 04, 2023 Genel » toggle (on) | |||
|---|---|---|---|
| |||
...0)
{
if(//*
i < maxIndex && //*/
raw[nextIndex] > 0)
{
assert(raw[nextIndex] == nextIndex);
raw[nextIndex].writeln;
break... | |||
June 03, 2023 Issues » [Issue 23959] New: [REG2.101.0] Copying arrays of types with postblits from varargs broken | |||
|---|---|---|---|
| |||
...values...)
{
sa[] = values;
}
unittest
{
fun(S(1));
assert(sa[0].i);
}
///////////////////////
Introduced in https://github... | |||
June 03, 2023 Issues » [Issue 23957] New: Casting to derived extern(C++) class is unsafe | |||
|---|---|---|---|
| |||
...C++) class D : C { }
void main() @safe
{
assert(cast(D)(new C) is null); // would... | |||
June 02, 2023 Issues » [Issue 23949] core.stdc.assert_ for FreeBSD and DragonFlyBSD is incorrect | |||
|---|---|---|---|
| |||
...Ernesto Castellotti: Fix issue 23949 - core.stdc.assert_ for FreeBSD and DragonFlyBSD is incorrect https... | |||
June 01, 2023 General » Feature: `static cast` | |||
|---|---|---|---|
| |||
...C++) class D : C { }
void main() @safe
{
assert(cast(D)(new C) is null); // fails... | |||
June 01, 2023 Issues » [Issue 21690] Unable to dynamic cast extern(C++) classes | |||
|---|---|---|---|
| |||
...void* iptr = cast(void*) cast(I) d;
assert(bptr !is iptr); // passes
void* vptr = cast... | |||
June 01, 2023 Issues » [Issue 23951] New: "alias this" not properly dereferenced when the object being looked up is a field of a type | |||
|---|---|---|---|
| |||
...static assert(__traits(hasMember, T, "x")); static assert(__traits(hasMember, T.init, "x")); static assert... | |||
May 31, 2023 Issues » [Issue 23949] core.stdc.assert_ for FreeBSD and DragonFlyBSD is incorrect | |||
|---|---|---|---|
| |||
...request #15285 "Fix issue 23949 - core.stdc.assert_ for FreeBSD is incorrect" was merged into... | |||
May 31, 2023 Learn » Re: Indenting standards religions K&R, whitesmiths etc | |||
|---|---|---|---|
| |||
...template-qualification-whatever) in {
static assert(…);
}
out (ret){
…
assert(test ret);
}do{
blah... | |||
May 31, 2023 Learn » Indenting standards religions K&R, whitesmiths etc | |||
|---|---|---|---|
| |||
...template-qualification-whatever )
in {
static assert( … );
}
out ( ret )
{
…
assert( test ret );
}
do {
blah... | |||
Copyright © 1999-2021 by the D Language Foundation