View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000304 | LDMud | LPC Compiler/Preprocessor | public | 2004-11-27 00:05 | 2004-11-27 00:05 |
Reporter | Assigned To | ||||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | new | Resolution | open | ||
Summary | 0000304: Automatic member initialisation for structs | ||||
Description | Short: Automatic member initialisation for structs From: Dafire Date: 2002-09-21 Type: Feature State: New Vielleicht wäre es schön wenn man schon member initialisieren könnte... z.b. : struct Test { int a; string b; mixed *c=({}); }; ------- This would be possible with another 'internal' function, holding the code to setup the struct members. The function would have to be inherited in parallel with the struct, which would happen automatically anyway. The struct definition would have a flag saying if the function exists. If yes, any call to S_AGGREGATE would also have a reference to the function. | ||||
Tags | No tags attached. | ||||
External Data (URL) | |||||