February 23, 2023 General » Why is std.regex slow, well here is one reason! | |||
|---|---|---|---|
| |||
...T val){ data ~= val; }
@trusted T pop()
{
assert(!empty);
auto val = data[$ - 1];
data = data... | |||
February 23, 2023 Issues » [Issue 23729] ignore custom object.d for CTFE needs | |||
|---|---|---|---|
| |||
...i++];
assert (i < format.length, "Invalid format string");
if (format[i] == '%' || format[i] == '?')
{
assert(!isQ... | |||
February 23, 2023 General » Re: A 'lazy' compilation mode to make writting multiplatform code easier without having to clutter the project | |||
|---|---|---|---|
| |||
...void poll() {
pragma(inline, true);
// or assert(0);
// or noreturn ext.
}
} else static assert(0);
``` | |||
February 22, 2023 General » Re: A 'lazy' compilation mode to make writting multiplatform code easier without having to clutter the project | |||
|---|---|---|---|
| |||
...T*) ptr;
return self.get_status(p);
}
}
assert(pointer);
return Selector(pointer, &gen!(T).vtable... | |||
February 22, 2023 General » Re: A 'lazy' compilation mode to make writting multiplatform code easier without having to clutter the project | |||
|---|---|---|---|
| |||
static assert is the problem here, it won't compile on wasm target | |||
February 23, 2023 General » Re: A 'lazy' compilation mode to make writting multiplatform code easier without having to clutter the project | |||
|---|---|---|---|
| |||
...else version(...) public import ... : poll; else static assert(0, "I don't know how to... | |||
February 22, 2023 Issues » [Issue 23731] [REG2.102] Throwing within finalizers causes InvalidMemoryOperationError on Windows | |||
|---|---|---|---|
| |||
...nogc`. `druntime/test/allocations/src/alloc_from_assert.d` then passes on Windows again (not... | |||
February 22, 2023 Issues » [Issue 23731] [REG2.102] Throwing within finalizers causes InvalidMemoryOperationError on Windows | |||
|---|---|---|---|
| |||
...nogc`. `druntime/test/allocations/src/alloc_from_assert.d` then passes on Windows again (not... | |||
February 22, 2023 Issues » [Issue 23731] New: [REG2.102] Throwing within finalizers causes InvalidMemoryOperationError on Windows | |||
|---|---|---|---|
| |||
...0/druntime/test/allocations/src/alloc_from_assert.d (skipped by DMD on Windows) Analysis... | |||
February 21, 2023 General » Re: Pure Factory Functions 💔 `inout` | |||
|---|---|---|---|
| |||
...ints = foo(bytes);
assert(ints[0] == 42); /* passes */
bytes[0] = 13;
assert(ints[0] == 42... | |||
Copyright © 1999-2021 by the D Language Foundation