]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/numeric/odeint/include/boost/numeric/odeint/util/is_pair.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / numeric / odeint / include / boost / numeric / odeint / util / is_pair.hpp
CommitLineData
7c673cae
FG
1/*
2 [auto_generated]
3 boost/numeric/odeint/util/is_pair.hpp
4
5 [begin_description]
6 Metafunction to determine if a type is a std::pair<>.
7 [end_description]
8
9 Copyright 2011 Karsten Ahnert
10 Copyright 2011 Mario Mulansky
11
12 Distributed under the Boost Software License, Version 1.0.
13 (See accompanying file LICENSE_1_0.txt or
14 copy at http://www.boost.org/LICENSE_1_0.txt)
15 */
16
17
18#ifndef BOOST_NUMERIC_ODEINT_UTIL_IS_PAIR_HPP_INCLUDED
19#define BOOST_NUMERIC_ODEINT_UTIL_IS_PAIR_HPP_INCLUDED
20
21
22#include <boost/mpl/bool.hpp>
23#include <utility>
24
25
26namespace boost {
27namespace numeric {
28namespace odeint {
29
30template< class T >
31struct is_pair : public boost::mpl::false_
32{
33};
34
35template< class T1 , class T2 >
36struct is_pair< std::pair< T1 , T2 > > : public boost::mpl::true_
37{
38};
39
40} // namespace odeint
41} // namespace numeric
42} // namespace boost
43
44
45#endif // BOOST_NUMERIC_ODEINT_UTIL_IS_PAIR_HPP_INCLUDED