- Documented
- Cleaned
This commit is contained in:
Tristan B. Velloza Kildaire 2024-05-02 22:40:12 +02:00
parent 51499dab47
commit 5f66b99434
1 changed files with 12 additions and 6 deletions

View File

@ -624,12 +624,20 @@ public template Always(T)
}
}
/**
* A touching stratergy
* that does nothing
*/
public template Nothing(T)
{
public void Nothing(Tree!(T) treeNode)
{
}
/**
* Consumes a tree node
* and does zilch with it
*
* Params:
* treeNode = the node
*/
public void Nothing(Tree!(T));
}
/**
@ -660,8 +668,6 @@ public template TouchStratergy(T)
public alias TouchStratergy = void delegate(Tree!(T) item);
}
// TODO: Technically this is a graph
public class Tree(T)
{