July 02 Learn » odbc error Im008 sql server :( | |||
|---|---|---|---|
| |||
...odbc.sqlucode; import odbc.sqltypes; import std.stdio; import std.string : fromStringz, toStringz; version(Windows... | |||
June 29 Issues » [Issue 24637] New: [REG 2.104] Cannot insert const/immutable elements into DList | |||
|---|---|---|---|
| |||
...include/dmd/phobos/std/algorithm/mutation.d(1265): Error: template instance `std.algorithm.mutation.moveEmplaceImpl... | |||
June 29 Learn » Re: SumType extraction | |||
|---|---|---|---|
| |||
...cons. As I know (can be wrong) std.sumtype implies type handlers not type tags. | |||
June 28 Learn » Re: SumType extraction | |||
|---|---|---|---|
| |||
What prevents you from doing:
```D
import std.sumtype;
class Foo {}
class Bar {}
alias Item... | |||
June 27 Learn » 12 line program... `main` is a nested function when trying to use redblacktree. Beginner error??? | |||
|---|---|---|---|
| |||
import std.container : RedBlackTree;
int main()
{
struct Location {
int x;
int y;
}
struct Node{
this... | |||
June 27 Learn » Re: Octal Prime Numbers (challenge) | |||
|---|---|---|---|
| |||
...d
struct SumPrimes(size_t size)
{
import std.bigint;
auto next = BigInt(1);
auto power... | |||
June 26 DIP Development » Re: First Draft: Callback For Matching Type | |||
|---|---|---|---|
| |||
...a type-recognized handler. ### Example ```d import std.stdio; alias S1 = SumType!(int, string); alias... | |||
June 26 Learn » Re: Why is this happening to my software? An illegal instruction error. | |||
|---|---|---|---|
| |||
Another point.. never use std.bigint for something serious. At first you can try to... | |||
June 25 Learn » Octal Prime Numbers (challenge) | |||
|---|---|---|---|
| |||
...s a challenge. But you should use std.bigint module and simply shift left and... | |||
June 25 Learn » Re: Why `foo.x.saa.aa` and `foo.y.saa.aa` is the same? `shared_AA.saa` should still be instance variable, not class variable, right? | |||
|---|---|---|---|
| |||
...even if its a field.
```d
import std.stdio;
struct Foo {
ubyte value = 2;
}
void... | |||
Copyright © 1999-2021 by the D Language Foundation