thomasmoelhave / tpie

Templated Portable I/O Environment
Other
112 stars 24 forks source link

Don't copy forwarded items #210

Closed tyilo closed 8 years ago

tyilo commented 8 years ago

Instead we store the items forwarded from nodes in that node and forward the node token of that node, which we can use to fetch the item with. When forwarding from a pipeline, we now store that in the nodemap and fetch on nodes has been modified to also look for a key there.

As a result of this, you can now forward and fetch unique_ptr's.

tyilo commented 8 years ago

@antialize Ready to merge?