-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
Hi, I wonder how to broadcast Boost.JSON objects with Boost.MPI library. I tried
#include <boost/json.hpp>
#include <boost/mpi/collectives.hpp>
#include <boost/mpi/communicator.hpp>
#include <boost/mpi/environment.hpp>
int main( int argc, char* argv[] )
{
boost::mpi::environment env( argc, argv );
boost::mpi::communicator world;
boost::json::object json;
boost::mpi::broadcast( world, json, 0 );
return 0;
}and got the error 'class boost::json::object' has no member named 'serialize'.
I guess I missed some headers like <boost/serialization/string.hpp> or <boost/serialization/vector.hpp>, but I don't know which ones should be included.
Metadata
Metadata
Assignees
Labels
No labels