MCPcopy Create free account
hub / github.com/Dobiasd/FunctionalPlus / tree

Method tree

include/fplus/tree.hpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17template <typename T>
18struct tree {
19 tree(const T& value, const std::vector<tree<T>>& children)
20 : value_(value)
21 , children_(children)
22 {
23 }
24 T value_;
25 std::vector<tree<T>> children_;
26};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected