I am trying to do an all to all with a vector of bools, but I am getting a compiler error:
vector<bool> particles_crossed_send(world.size(),false);
vector<bool> particles_crossed_recv;
mpi::all_to_all(world,particles_crossed_send,particles_crossed_recv);
The compiler complains that the last 2 arguments (the vectors) "must be an lvalue or a function designator."
No idea why I am getting this issue.