March 30, 2023 General » There must be module with test assertions in Phobos | |||
|---|---|---|---|
| |||
...in assert are required. It is possible, to get similar output with standard assert using... | |||
March 30, 2023 Issues » [Issue 13850] mixin template accepts delegates as function parameters | |||
|---|---|---|---|
| |||
...main() {
SomeClass a = new SomeClass;
a.foo();
assert(a.x == 1); // Fails
}
I am reopening... | |||
March 29, 2023 Learn » Re: The Phobos Put | |||
|---|---|---|---|
| |||
...buf); assert(buf[0..$ - diff] == [7, 1, 2, 3]); swap(buf[0], rem[0]); assert... | |||
March 29, 2023 Learn » Re: The Phobos Put | |||
|---|---|---|---|
| |||
...put([2]); // <-- ERROR assert(arr == [1, 2, 0, 4]); slice.put([3]); assert(arr == [1... | |||
March 29, 2023 Learn » Re: The Phobos Put | |||
|---|---|---|---|
| |||
...slice.put([2]); assert(arr == [1, 2, 0, 4]); slice.put([3]); assert(arr == [1... | |||
March 29, 2023 Issues » [Issue 8950] postblit not called on const static array initialization | |||
|---|---|---|---|
| |||
...kinke's code and the original provided code do not assert anymore. Closing as WORKSFORME. -- | |||
March 29, 2023 Learn » The Phobos Put | |||
|---|---|---|---|
| |||
...void put(R)(R[] range, R[] source)
{
assert(source.length <= range.length);
foreach(element; source... | |||
March 29, 2023 Genel » Re: copy mi put mu | |||
|---|---|---|---|
| |||
...void put(R)(R[] range, R[] source) {
assert(source.length <= range.length);
foreach(element; source... | |||
March 29, 2023 Learn » The Phobos put() | |||
|---|---|---|---|
| |||
...void put(R)(R[] range, R[] source)
{
assert(source.length <= range.length);
foreach(element; source... | |||
March 29, 2023 Genel » copy mi put mu | |||
|---|---|---|---|
| |||
...RAK.length;
auto rem = RAK.kopyala(buf);
assert(buf[0..$ - fark] == [7, 1, 2, 3... | |||
Copyright © 1999-2021 by the D Language Foundation