Hi Kenton,
> I think you want something like:
>
> auto outer = name.initNestedList(vec.size());
> for (uint i = 0; i < vec.size(); i++) {
> auto inner = outer.init(i, vec[i].size());
> for (uint j = 0; j < vec[i].size(); j++) {
> inner.set(j, vec[i][j]);
> }
> }
works like a charm. Thank you very much!
Frank
--
You received this message because you are subscribed to the Google Groups
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/capnproto.