2
0
mirror of https://github.com/boostorg/mpi.git synced 2026-02-25 16:32:22 +00:00

Merged fixes for Function, Signals, and MPI from trunk. See #1499, see #1416, see #1486

[SVN r42031]
This commit is contained in:
Douglas Gregor
2007-12-14 14:48:14 +00:00
parent a4cec69069
commit 55843c4bfd
5 changed files with 13 additions and 3 deletions

View File

@@ -13,6 +13,10 @@
#ifndef BOOST_MPI_CONFIG_HPP
#define BOOST_MPI_CONFIG_HPP
/* Force MPICH not to define SEEK_SET, SEEK_CUR, and SEEK_END, which
conflict with the versions in <stdio.h> and <cstdio>. */
#define MPICH_IGNORE_CXX_SEEK 1
#include <mpi.h>
#include <boost/config.hpp>

View File

@@ -25,6 +25,7 @@
#include <boost/mpl/or.hpp>
#include <boost/mpi/detail/mpi_datatype_cache.hpp>
#include <boost/mpl/assert.hpp>
#include <utility> // for std::pair
namespace boost { namespace mpi {
@@ -289,6 +290,11 @@ struct is_mpi_datatype<bool>
: boost::mpl::bool_<true>
{};
/// INTERNAL ONLY
template<typename T, typename U>
struct is_mpi_datatype<std::pair<T, U> >
: mpl::and_<is_mpi_datatype<T>, is_mpi_datatype<U> > { };
} } // end namespace boost::mpi
#endif // BOOST_MPI_MPI_DATATYPE_HPP

View File

@@ -9,7 +9,7 @@
#ifndef BOOST_MPI_DETAIL_MPI_DATATYPE_OPRIMITIVE_HPP
#define BOOST_MPI_DETAIL_MPI_DATATYPE_OPRIMITIVE_HPP
#include <mpi.h>
#include <boost/mpi/config.hpp>
#include <cstddef> // size_t
#include <boost/config.hpp>

View File

@@ -9,7 +9,7 @@
#ifndef BOOST_MPI_PACKED_IPRIMITIVE_HPP
#define BOOST_MPI_PACKED_IPRIMITIVE_HPP
#include <mpi.h>
#include <boost/mpi/config.hpp>
#include <iostream>
#include <cstddef> // size_t
#include <boost/config.hpp>

View File

@@ -9,7 +9,7 @@
#ifndef BOOST_MPI_PACKED_OPRIMITIVE_HPP
#define BOOST_MPI_PACKED_OPRIMITIVE_HPP
#include <mpi.h>
#include <boost/mpi/config.hpp>
#include <iostream>
#include <cstddef> // size_t
#include <boost/config.hpp>