kamping-site / kamping

KaMPIng: (Near) zero-overhead MPI wrapper for modern C++
https://kamping-site.github.io/kamping/
GNU Lesser General Public License v3.0
24 stars 0 forks source link

extract() <=> data buffer is owning #610

Closed mschimek closed 5 months ago

mschimek commented 6 months ago

DataBuffer::extract() is now available if only if DataBuffer::is_owning, i.e. the data buffer owns its underlying storage. The distinction between in/out buffers is now made in the result object and is (somewhat) decoupled from the existence of the extract() member function.

First step for enabling structured-binding ready result objects.