March 21, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
...L4450):
```
template Foo(T) {
struct Foo { }
}
```
You can...a `struct` that lives inside a template, because... | |||
March 18, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
...something inside `is(...)`. Store that info if not already, report an error when Foo is... | |||
March 12, 2023 Learn » Re: 'auto' keyword | |||
|---|---|---|---|
| |||
...msg, typeof(foo()));
auto s = foo();
}
The name 'S' is available only inside 'foo', so... | |||
February 19, 2023 General » Re: New blog post on the cost of compile time | |||
|---|---|---|---|
| |||
...int[])) {}
void main()
{
foo(1);
foo([1]);
}
```
```
onlineapp...apparently it's needed somewhere inside phobos.
-Steve | |||
February 18, 2023 Learn » Re: Non-ugly ways to implement a 'static' class or namespace? | |||
|---|---|---|---|
| |||
...declared against a member inside a class (or...open.
e.g
class foo
{
private int x... | |||
February 18, 2023 Learn » Re: Non-ugly ways to implement a 'static' class or namespace? | |||
|---|---|---|---|
| |||
...depends on whether the access x.foo is inside that class. If it's protected... | |||
February 15, 2023 Issues » [Issue 23710] New: [REG master] Reachable code inside an 'if (false)' block no longer gets codegen | |||
|---|---|---|---|
| |||
...foo = foo ~ [1,2,3];
L1:
printf("foo...REG master] Reachable code inside an 'if (false... | |||
January 30, 2023 Issues » [Issue 23661] New: Using typeid from template inside __traits(compiles, ...) causes linker error | |||
|---|---|---|---|
| |||
...Using typeid from template inside __traits(compiles,
...) causes...gshared int x;
void foo(T)()
{
auto x... | |||
December 02, 2022 Learn » Re: Getting the default value of a class member field | |||
|---|---|---|---|
| |||
...UDA) as default values inside my SQL database...type specialization like `void foo(T : Model)(T... | |||
November 22, 2022 General » Re: Feedback Thread: DIP 1044--Enum Type Inference--Community Review Round 1 | |||
|---|---|---|---|
| |||
...you instantiating the `bar` template inside a call to `foo` which has 2 overloads that... | |||
Copyright © 1999-2021 by the D Language Foundation