From 51499dab47ec44637c369643303190af0c559b10 Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Thu, 2 May 2024 22:34:03 +0200 Subject: [PATCH] Tree - Documented --- source/niknaks/containers.d | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/niknaks/containers.d b/source/niknaks/containers.d index 185b950..3f21725 100644 --- a/source/niknaks/containers.d +++ b/source/niknaks/containers.d @@ -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);