]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/mpi/include/boost/mpi/datatype_fwd.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / mpi / include / boost / mpi / datatype_fwd.hpp
CommitLineData
7c673cae
FG
1// Copyright (C) 2006 Douglas Gregor <doug.gregor -at- gmail.com>.
2
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)
6
7/** @file datatype_fwd.hpp
8 *
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
12 * is_mpi_datatype.
13 */
14#ifndef BOOST_MPI_DATATYPE_FWD_HPP
15#define BOOST_MPI_DATATYPE_FWD_HPP
16
17#include <boost/mpi/config.hpp>
18
19namespace boost { namespace mpi {
20
21template<typename T> struct is_mpi_builtin_datatype;
22template<typename T> struct is_mpi_integer_datatype;
23template<typename T> struct is_mpi_floating_point_datatype;
24template<typename T> struct is_mpi_logical_datatype;
25template<typename T> struct is_mpi_complex_datatype;
26template<typename T> struct is_mpi_byte_datatype;
27template<typename T> struct is_mpi_datatype;
28template<typename T> MPI_Datatype get_mpi_datatype(const T& x);
29template<typename T> MPI_Datatype get_mpi_datatype()
30 { return get_mpi_datatype(T());}
31
32/// a dummy data type giving MPI_PACKED as its MPI_Datatype
33struct packed {};
34} } // end namespace boost::mpi
35
36#endif // BOOST_MPI_MPI_DATATYPE_FWD_HPP