Search

November 27, 2022
General »
...cpp
vector v1{"abc","def"};
//container
void f(auto i){
    ...
}//this is a function template.
```

November 27, 2022
General »
...my project due to its immense imports, template usages and some choices that breaks compilation...
November 27, 2022
General »
...hide away a ton of details regarding template instantiations that don't need to be...
November 27, 2022
General »
...should. `-vtemplates` needs compiler time attributed to template recursively.
4. LLVM is painful. Unavoidable, but...
November 27, 2022
General »
...14:03 UTC, Tejas wrote:


`template![int N]` can be `template[int N]`.
Maybe it...
November 27, 2022
General »
Correct code 😅

```cpp

 template![int N]
 int func(int i){ return N;}
 // Used like...
November 27, 2022
General »
...not `C++`

It looks like this
```cpp

template![int N]
void func(int i){ return...
November 26, 2022
General »
...a local function, e.g., with local template instantiation.

This is a somewhat hacky way...
November 26, 2022
Genel »
...https://tour.dlang.org/tour/en/gems/template-meta-programming) sayfada şimdi vereceğim açıklamalar ile...
November 25, 2022
General »
...is a `struct`.

To instantiate the new template hooks, the lowering has to be moved...
222 223 224 225 226 227 228 229 230 231 232
Next ›   Last »