i have a foreach call function that is getting nested zip(tuple(zip(tuple()),zip(tuple()))) iterators because the tuples. THis is becuase i have more than ten in- and output vectors. WHen i trry to modify the output vectors it has no effect tho when doping it like
thrust::get<0>(output)= SOMEFUNCTION OF OTHER STUFF
I believe this doesnt work because the first line creates a deep copy of the output and changes the copy, not the output.
Trying it like this
thrust::get<0>(thrust::get<0>(thewholeinputtoforeach)= SOMEFUNCTION OF OTHER STUFF
errors with “error: expression must be a modifiable lvalue”
SO somehow i guess i have to create reference to the output iterator with pointers, but i don’t manage to.
Nay tips and ideas are highly appreciated.