September 04, 2022 Learn » Re: Tracing out error that causes compiler crash | |||
|---|---|---|---|
| |||
...implementation instead of using it as a template name, and I'm still getting no... | |||
September 03, 2022 Learn » Re: Error while generate DNA with uniform() | |||
|---|---|---|---|
| |||
...the templates, not in the structure. Maybe ` template functionTypeOf(alias func)` For example: ```d auto... | |||
September 03, 2022 General » Re: Implicit conversion to mutable if no indirections? | |||
|---|---|---|---|
| |||
...en.cppreference.com/w/cpp/language/class_template_argument_deduction#:~:text=x%7B2.0%2C... | |||
September 03, 2022 Learn » Re: synchronized/shared associative array .require error | |||
|---|---|---|---|
| |||
...is `synchronized` or not, so you can't do a safe template function for this. | |||
September 03, 2022 General » Re: Implicit conversion to mutable if no indirections? | |||
|---|---|---|---|
| |||
...also done to reduce the number of template instantiations. And I agree, it should be... | |||
September 03, 2022 Issues » [Issue 23321] New: Add ability to set NO_SCAN flag for GCAllocator | |||
|---|---|---|---|
| |||
...wondering if the GCAllocator should accept a template flag that dictates the NO_SCAN requirement... | |||
September 02, 2022 General » Re: Implicit conversion to mutable if no indirections? | |||
|---|---|---|---|
| |||
...I said, I understand it will ruin template type deduction as well as function overloading... | |||
September 02, 2022 Learn » synchronized/shared associative array .require error | |||
|---|---|---|---|
| |||
...compile: ``` // Error: none of the overloads of template `object.require` are callable using argument types... | |||
September 02, 2022 General » Implicit conversion to mutable if no indirections? | |||
|---|---|---|---|
| |||
...it solves this.
The problem happens in template code:
void main() {
const i = 42; // const... | |||
September 02, 2022 Issues » [Issue 23319] New: std.range.Generator does not work with non-mutable elements | |||
|---|---|---|---|
| |||
...dmd/std/range/package.d(3767): Error: template instance `std.range.primitives.isInputRange!(Generator!(function... | |||
Copyright © 1999-2021 by the D Language Foundation