title: Sending class instances using MPI_Send() or MPI_Bcast in C++
body: <p>How can I transmit instances of my class or a <code>std::vector</code> using <code>MPI_Send()</code> or <code>MPI_Bcast()</code> in C++?</p>