August 22, 2014 General » Re: const after initialization / pointers, references and values | |||
|---|---|---|---|
| |||
...is ok for initializing "default_nodes" but not for "nodes" because a pure function can... | |||
August 22, 2014 General » Re: RFC: std.json sucessor | |||
|---|---|---|---|
| |||
...nodes.front == objectStart);
nodes.popFront();
while (nodes.front != objectEnd) {
auto key = nodes.front.key;
nodes... | |||
August 21, 2014 General » RFC: std.json sucessor | |||
|---|---|---|---|
| |||
...out location tracking (line/column) for tokens, nodes and values - No opDispatch() for JSONValue - this... | |||
August 21, 2014 Learn » Re: Generating a tree structure | |||
|---|---|---|---|
| |||
...make a *value-copy* of your TileTree nodes. There are good chances it'll break... | |||
August 20, 2014 General » Re: const after initialization / pointers, references and values | |||
|---|---|---|---|
| |||
...want it.
Just use:
immutable Node[] default_nodes = [
{num:3},
{block:[{num:4},{num:6... | |||
August 20, 2014 General » const after initialization / pointers, references and values | |||
|---|---|---|---|
| |||
...i<3; i++){
nodes.length++;
nodes[$-1].num=i;
}
}
this(){
nodes = default_nodes;
}
this(char... | |||
August 18, 2014 Learn » Re: Using std.container.BinaryHeap like C++ | |||
|---|---|---|---|
| |||
...of nodes to visit, and when new paths are found, I re-parent the nodes... | |||
August 16, 2014 General » Re: How to declare a parameterized recursive data structure? | |||
|---|---|---|---|
| |||
...linked lists using the same kind of nodes here: https://github.com/nomad-software/etcetera... | |||
August 15, 2014 Learn » Re: Appender is ... slow | |||
|---|---|---|---|
| |||
...m pushing into the Appender are graph nodes and I got fed up with tracing... | |||
August 11, 2014 Learn » Re: Linked list as a bidirectional range? I have some questions... | |||
|---|---|---|---|
| |||
...data items or nodes, so what's the problem with "exposing the nodes"? If you... | |||
Copyright © 1999-2021 by the D Language Foundation