Search

July 02
Learn »
...odbc.sqlucode;
import odbc.sqltypes;
import std.stdio;
import std.string : fromStringz, toStringz;

version(Windows...
June 29
Issues »
...include/dmd/phobos/std/algorithm/mutation.d(1265): Error: template
instance `std.algorithm.mutation.moveEmplaceImpl...
June 29
Learn »
...cons. As I know (can be wrong) std.sumtype implies type handlers not type tags.
June 28
Learn »
What prevents you from doing:
```D
import std.sumtype;

class Foo {}
class Bar {}

alias Item...
June 27
Learn »
import std.container : RedBlackTree;

int main()
{

    struct Location {
        int x;
        int y;
    }

    struct Node{
        this...
June 27
Learn »
...d
struct SumPrimes(size_t size)
{
  import std.bigint;

  auto next = BigInt(1);
  auto power...
June 26
DIP Development »
...a type-recognized handler.

### Example

```d
import std.stdio;

alias S1 = SumType!(int, string);
alias...
June 26
Learn »
Another point.. never use std.bigint for something serious.
At first you can try to...
June 25
Learn »
...s a challenge. But you should use std.bigint module and simply shift left and...
June 25
Learn »
...even if its a field.

```d
import std.stdio;

struct Foo {
    ubyte value = 2;
}

void...
103 104 105 106 107 108 109 110 111 112 113
Next ›   Last »