November 27, 2022 General » Re: More D Features Working Their Way Into C++ | |||
|---|---|---|---|
| |||
...cpp
vector v1{"abc","def"};
//container
void f(auto i){
...
}//this is a function template.
```
| |||
November 27, 2022 General » Re: Update on the D-to-Jai guy: We have real problems with the language | |||
|---|---|---|---|
| |||
...my project due to its immense imports, template usages and some choices that breaks compilation... | |||
November 27, 2022 General » Re: Update on the D-to-Jai guy: We have real problems with the language | |||
|---|---|---|---|
| |||
...hide away a ton of details regarding template instantiations that don't need to be... | |||
November 27, 2022 General » Update on the D-to-Jai guy: We have real problems with the language | |||
|---|---|---|---|
| |||
...should. `-vtemplates` needs compiler time attributed to template recursively. 4. LLVM is painful. Unavoidable, but... | |||
November 27, 2022 General » Re: More D Features Working Their Way Into C++ | |||
|---|---|---|---|
| |||
...14:03 UTC, Tejas wrote: `template![int N]` can be `template[int N]`. Maybe it... | |||
November 27, 2022 General » Re: More D Features Working Their Way Into C++ | |||
|---|---|---|---|
| |||
Correct code 😅
```cpp
template![int N]
int func(int i){ return N;}
// Used like... | |||
November 27, 2022 General » Re: More D Features Working Their Way Into C++ | |||
|---|---|---|---|
| |||
...not `C++`
It looks like this
```cpp
template![int N]
void func(int i){ return... | |||
November 26, 2022 General » Re: Initialising Context Pointer during Semantic Analysis | |||
|---|---|---|---|
| |||
...a local function, e.g., with local template instantiation. This is a somewhat hacky way... | |||
November 26, 2022 Genel » Örtük Dünüştürme ne demek? | |||
|---|---|---|---|
| |||
...https://tour.dlang.org/tour/en/gems/template-meta-programming) sayfada şimdi vereceğim açıklamalar ile... | |||
November 25, 2022 General » Initialising Context Pointer during Semantic Analysis | |||
|---|---|---|---|
| |||
...is a `struct`. To instantiate the new template hooks, the lowering has to be moved... | |||
Copyright © 1999-2021 by the D Language Foundation