Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-06-30 08:21:47

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 #include <type_traits>
0022 
0023 namespace boost {
0024 namespace numeric {
0025 namespace odeint {
0026 
0027 template< class T >
0028 struct is_pair : public std::integral_constant<bool, false>
0029 {
0030 };
0031 
0032 template< class T1 , class T2 >
0033 struct is_pair< std::pair< T1 , T2 > > : public std::integral_constant<bool, true>
0034 {
0035 };
0036 
0037 } // namespace odeint
0038 } // namespace numeric
0039 } // namespace boost
0040 
0041 
0042 #endif // BOOST_NUMERIC_ODEINT_UTIL_IS_PAIR_HPP_INCLUDED