Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:42:58

0001 /*
0002  [auto_generated]
0003  boost/numeric/odeint/util/is_pair.hpp
0004 
0005  [begin_description]
0006  Metafunction to determine if a type is a std::pair<>.
0007  [end_description]
0008 
0009  Copyright 2011 Karsten Ahnert
0010  Copyright 2011 Mario Mulansky
0011 
0012  Distributed under the Boost Software License, Version 1.0.
0013  (See accompanying file LICENSE_1_0.txt or
0014  copy at http://www.boost.org/LICENSE_1_0.txt)
0015  */
0016 
0017 
0018 #ifndef BOOST_NUMERIC_ODEINT_UTIL_IS_PAIR_HPP_INCLUDED
0019 #define BOOST_NUMERIC_ODEINT_UTIL_IS_PAIR_HPP_INCLUDED
0020 
0021 
0022 #include <boost/mpl/bool.hpp>
0023 #include <utility>
0024 
0025 
0026 namespace boost {
0027 namespace numeric {
0028 namespace odeint {
0029 
0030 template< class T >
0031 struct is_pair : public boost::mpl::false_
0032 {
0033 };
0034 
0035 template< class T1 , class T2 >
0036 struct is_pair< std::pair< T1 , T2 > > : public boost::mpl::true_
0037 {
0038 };
0039 
0040 } // namespace odeint
0041 } // namespace numeric
0042 } // namespace boost
0043 
0044 
0045 #endif // BOOST_NUMERIC_ODEINT_UTIL_IS_PAIR_HPP_INCLUDED