November 22 Learn » Re: Using a tuple as a function parameter | |||
|---|---|---|---|
| |||
...mixed types `auto foo(tuple!(int,bool,float) t,int i)=>t[i];` should and... | |||
November 22 Learn » Using a tuple as a function parameter | |||
|---|---|---|---|
| |||
...string getOrZeroth(Tuple!(string, string, string) tup, int i) pure {
return tup[i] == "" ? tup[0... | |||
November 21 Learn » Re: std.mmfile + std.bitmanip.peek, void[] is not a forward range? | |||
|---|---|---|---|
| |||
...it to convert groups of bytes to int or short or some other integral type... | |||
November 21 Learn » std.mmfile + std.bitmanip.peek, void[] is not a forward range? | |||
|---|---|---|---|
| |||
...same as slicing mmFile below int val = data[offset .. $].peek!int; //data[ offset .. offset + 4... | |||
November 21 Issues » [Issue 24869] Qualifier dropped from return type when AliasSeq is indexed with template argument | |||
|---|---|---|---|
| |||
...int)[i]) get(size_t i)() const;
pragma(msg, typeof(get!0)); // const ref int()
-- | |||
November 21 Issues » [Issue 24869] Qualifier dropped from return type when AliasSeq is indexed with template argument | |||
|---|---|---|---|
| |||
...int)`.
It's weird as the function prototype type is OK:
ref const(AliasSeq!(int... | |||
November 21 Genel » Show Helper | |||
|---|---|---|---|
| |||
...9..$ - 2];
void show(string f = __FILE__,
int line = __LINE__, T)(T t) {
import std... | |||
November 21 Issues » [Issue 24869] Qualifier dropped from return type when AliasSeq is indexed with template argument | |||
|---|---|---|---|
| |||
...nick@geany.org> ---
Reduced:
struct S
{
int n;
ref int get() const => n;
}
void main... | |||
November 21 Genel » Re: @nogc | |||
|---|---|---|---|
| |||
...map, int rows, int columns)
{
for (int r = 0; r < rows; r++)
for (int c... | |||
November 21 Genel » Re: @nogc | |||
|---|---|---|---|
| |||
...alias BenimNOGCFonksiyonTipim = int function() @nogc;
void banaFonksiyonVerÇalıştırayım(BenimNOGCFonksiyonTipim fonk){
int i = fonk();
}
@nogc int alsanaInt... | |||
Copyright © 1999-2021 by the D Language Foundation