Opened 13 years ago

Closed 12 years ago

#3394 closed Bugs (worksforme)

boost::mpi not able to pass strings with non-char element types

Reported by: boost@… Owned by: Douglas Gregor
Milestone: Boost 1.41.0 Component: mpi
Version: Boost 1.40.0 Severity: Problem
Keywords: mpi string Cc:

Description

The last two checkouts I installed both failed passing strings through boost::mpi communication methods when the element type was not char.

The distributed hello_world.cpp shows this when the strings are changed to wide strings (attached).

Making the responsible methods generic on the string's element type fixes it (patch attached).

However, I assume this is supposed to be handled by boost::serialization.

Attachments (2)

hello_world.cpp (915 bytes ) - added by boost@… 13 years ago.
Modified hello world program demonstrating the problem
boost-strings.diff (1.7 KB ) - added by boost@… 13 years ago.
proposed fix

Download all attachments as: .zip

Change History (3)

by boost@…, 13 years ago

Attachment: hello_world.cpp added

Modified hello world program demonstrating the problem

by boost@…, 13 years ago

Attachment: boost-strings.diff added

proposed fix

comment:1 by Matthias Troyer, 12 years ago

Resolution: worksforme
Status: newclosed

This is already implemented

Note: See TracTickets for help on using tickets.