Re: [Boost-bugs] [Boost C++ Libraries] #6704: Boost version of mpi_in_place

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6704: Boost version of mpi_in_place
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-19 11:00:48


#6704: Boost version of mpi_in_place
-----------------------------------------------------+----------------------
  Reporter: Alain Miniussi <alain.miniussi@…> | Owner: dgregor
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: mpi
   Version: Boost 1.48.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------------------------+----------------------

Comment (by Alain Miniussi <alain.miniussi@…>):

 Another issue with th e implicit solution is that the input buffer is not
 left unchanged, while it is documented as such. So I guess a acceptable
 solution would be to simply provide a global:
 {{{
 namespace boost{ namespace mpi {
 template<typename T> T const* mpi_in_place(T const* p = 0) { return
 static_cast<T const*>(MPI_IN_PLACE); }
 } }
 }}}

 function ?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6704#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC