mirror of https://github.com/deavmi/niknaks
parent
13145bd83a
commit
51499dab47
|
@ -835,6 +835,15 @@ public class Tree(T)
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the value of
|
||||
* the child node at
|
||||
* the provided index
|
||||
*
|
||||
* Params:
|
||||
* idx = the index
|
||||
* Returns: the value
|
||||
*/
|
||||
public T opIndex(size_t idx)
|
||||
{
|
||||
return opIndex!(T)(idx);
|
||||
|
|
Loading…
Reference in New Issue