1 // Copyright (C) 2006 Douglas Gregor <doug.gregor -at- gmail.com>.
3 // Use, modification and distribution is subject to the Boost Software
4 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
7 /** @file datatype_fwd.hpp
9 * This header provides forward declarations for the contents of the
10 * header @c datatype.hpp. It is expected to be used primarily by
11 * user-defined C++ classes that need to specialize @c
14 #ifndef BOOST_MPI_DATATYPE_FWD_HPP
15 #define BOOST_MPI_DATATYPE_FWD_HPP
17 #include <boost/mpi/config.hpp>
19 namespace boost
{ namespace mpi
{
21 template<typename T
> struct is_mpi_builtin_datatype
;
22 template<typename T
> struct is_mpi_integer_datatype
;
23 template<typename T
> struct is_mpi_floating_point_datatype
;
24 template<typename T
> struct is_mpi_logical_datatype
;
25 template<typename T
> struct is_mpi_complex_datatype
;
26 template<typename T
> struct is_mpi_byte_datatype
;
27 template<typename T
> struct is_mpi_datatype
;
28 template<typename T
> MPI_Datatype
get_mpi_datatype(const T
& x
= T());
30 /// a dummy data type giving MPI_PACKED as its MPI_Datatype
32 } } // end namespace boost::mpi
34 #endif // BOOST_MPI_MPI_DATATYPE_FWD_HPP