boostorg / boostorg/mpi

Broadcast Boost.JSON objects

Open
#158 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
64
Forks
65
PR merge metrics
No merged PRs in 30d

Description

Hi, I wonder how to broadcast Boost.JSON objects with Boost.MPI library. I tried
```c++
#include
#include
#include
#include

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 `` or ``, but I don't know which ones should be included.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.