Opened 14 years ago

Closed 13 years ago

#2581 closed Patches (fixed)

MPI tutorial sample has missing includes

Reported by: Ryo IGARASHI <rigarash@…> Owned by: Matthias Troyer
Milestone: Boost 1.38.0 Component: mpi
Version: Boost 1.37.0 Severity: Cosmetic
Keywords: Cc:

Description

There are a lot of sample codes in Boost.MPI tutorial documentation. It is very useful, but there are some missing include:

In the point-to-point sample and the non-blocking sample, it lacks <string> header.

In the gather sample, it lacks <vector> header include.

In the reduce sample 2, it uses std::plus<> so that #include <functional> is needed.

Attachments (1)

mpi.qbk.diff (1004 bytes ) - added by Ryo IGARASHI <rigarash@…> 14 years ago.
diff file for mpi.qbk

Download all attachments as: .zip

Change History (4)

by Ryo IGARASHI <rigarash@…>, 14 years ago

Attachment: mpi.qbk.diff added

diff file for mpi.qbk

comment:1 by Ryo IGARASHI <rigarash@…>, 14 years ago

Type: BugsPatches

comment:2 by anonymous, 13 years ago

Owner: changed from Douglas Gregor to Matthias Troyer

comment:3 by Matthias Troyer, 13 years ago

Resolution: fixed
Status: newclosed

(In [55417]) Fixed ticket 2581

Note: See TracTickets for help on using tickets.