2 days ago General » Re: Something like ADL from C++? | |||
|---|---|---|---|
| |||
...ability to call that constructor with the template this parameter. Which means the user derived... | |||
2 days ago Issues » [Issue 24892] We need a __traits trait to test for whether one class is derived from another | |||
|---|---|---|---|
| |||
...introspection in general and not just for template constraints. For instance, if you were trying... | |||
2 days ago General » Re: Something like ADL from C++? | |||
|---|---|---|---|
| |||
...myself. [1]: https://dlang.org/spec/template.html#template_this_parameter [2]: https://issues.dlang... | |||
2 days ago Issues » [Issue 24892] We need a __traits trait to test for whether one class is derived from another | |||
|---|---|---|---|
| |||
...Dennis <dkorpel@live.nl> --- Usually when a template function accepts a generic struct/class, the... | |||
3 days ago General » Re: Something like ADL from C++? | |||
|---|---|---|---|
| |||
I'm fully aware of template this parameters, I was trying to get them to... | |||
3 days ago General » Re: Something like ADL from C++? | |||
|---|---|---|---|
| |||
There is the curious recurring template pattern of course. | |||
3 days ago Issues » [Issue 24892] We need a __traits trait to test for whether one class is derived from another | |||
|---|---|---|---|
| |||
...Parent < Child)`` This will also work with template parameters: ```d void func(T > Parent)(T... | |||
3 days ago DIP Ideas » Re: Struct inheritance | |||
|---|---|---|---|
| |||
...could do > and < comparison of types in template parameters and is expressions. Which could be... | |||
3 days ago DIP Ideas » Re: Struct inheritance | |||
|---|---|---|---|
| |||
...struct inheritance can do so with a template constraint and a __traits trait just like... | |||
3 days ago DIP Ideas » Re: Struct inheritance | |||
|---|---|---|---|
| |||
Problem is, template parameters also should work, using ``Child : Parent`` syntax. Otherwise the usability on... | |||
Copyright © 1999-2021 by the D Language Foundation