October 10 General » Re: Move Constructor Syntax | |||
|---|---|---|---|
| |||
...an association between linking to the original data in the move constructor and pointers. I... | |||
October 09 General » Re: Template type inference problem | |||
|---|---|---|---|
| |||
...const(T)[] data, const(T) *sum)
=> Result(data, sum);
struct Result {
const(T)[] data;
const... | |||
October 07 Learn » Re: Wrapper for PAM | |||
|---|---|---|---|
| |||
...strdup(data.newPassword.toStringz);
break;
case "Password: ":
case "Current password: ":
responses[count].resp = strdup(data... | |||
October 06 General » Re: Move Constructor Syntax | |||
|---|---|---|---|
| |||
...data = new int[size];
writeln("Constructor called, data: ", data);
}
this(=MyStruct other) {
data = other.data... | |||
October 04 Issues » [Issue 24793] Allow implicit conversion of const pointers to void* | |||
|---|---|---|---|
| |||
...btn;
void write(string s) const
{
g_signal_connect_data(cast(GtkButton*)btn, "clicked", &onClick);
}
}
---
-- | |||
October 04 Learn » Re: How to evaluate a JSON file at compile time and create a struct out of it? | |||
|---|---|---|---|
| |||
...to ctfe; without clarification of what the data is idk, but if you could get... | |||
October 04 Issues » [Issue 24795] New: emplace mutates immutable data in @safe code | |||
|---|---|---|---|
| |||
...emplace to mutate immutable data in @safe code. Since mutating immutable data results in undefined... | |||
October 04 Learn » How to evaluate a JSON file at compile time and create a struct out of it? | |||
|---|---|---|---|
| |||
...the JSONValue is huge. Like megabytes of data... And no I don't want to... | |||
October 03 Learn » Re: Wrapper for PAM | |||
|---|---|---|---|
| |||
...resp, void *appdata_ptr)
{
pam_data *data = cast(pam_data*)appdata_ptr;
*resp = cast(pam... | |||
October 03 Learn » Wrapper for PAM | |||
|---|---|---|---|
| |||
...resp, void *appdata_ptr) {
pam_data *data = cast(pam_data*)appdata_ptr;
*resp = cast(pam... | |||
Copyright © 1999-2021 by the D Language Foundation