Boost logo

Boost Users :

Subject: Re: [Boost-users] mpi: is_mpi_datatype
From: Matthias Troyer (troyer_at_[hidden])
Date: 2010-12-11 08:23:31


On 8 Dec 2010, at 23:52, Hicham Mouline wrote:

> Hello
>
> A polymorphic struct with 2 doubles and 1 virtual function is not intended to be marked as is_mpi_datatype : mpl_true, is it?
>

It depends. If you always just send those two doubles and never a derived class that extends it with extra dat members then you can mark it is_mpi_datatype

Matthias


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net