TreeIter.getUserData3

setUserData and getUserData provide simple boxing around the userData field in the TreeIter struct.

class TreeIter
T
getUserData3
(
T
)
()

Throws

TreeIterError for unsupported types or a type mismatch.

Examples

Treeiter iter = new TreeIter();

iter.setUserData(20);
int i = iter.getUserData!(int)();

Meta