- Documented
This commit is contained in:
Tristan B. Velloza Kildaire 2024-05-02 22:34:03 +02:00
parent 13145bd83a
commit 51499dab47
1 changed files with 9 additions and 0 deletions

View File

@ -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);