Chris@16: /* Chris@16: [auto_generated] Chris@16: boost/numeric/odeint/util/is_pair.hpp Chris@16: Chris@16: [begin_description] Chris@16: Metafunction to determine if a type is a std::pair<>. Chris@16: [end_description] Chris@16: Chris@101: Copyright 2011 Karsten Ahnert Chris@101: Copyright 2011 Mario Mulansky Chris@16: Chris@16: Distributed under the Boost Software License, Version 1.0. Chris@16: (See accompanying file LICENSE_1_0.txt or Chris@16: copy at http://www.boost.org/LICENSE_1_0.txt) Chris@16: */ Chris@16: Chris@16: Chris@16: #ifndef BOOST_NUMERIC_ODEINT_UTIL_IS_PAIR_HPP_INCLUDED Chris@16: #define BOOST_NUMERIC_ODEINT_UTIL_IS_PAIR_HPP_INCLUDED Chris@16: Chris@16: Chris@16: #include Chris@16: #include Chris@16: Chris@16: Chris@16: namespace boost { Chris@16: namespace numeric { Chris@16: namespace odeint { Chris@16: Chris@16: template< class T > Chris@16: struct is_pair : public boost::mpl::false_ Chris@16: { Chris@16: }; Chris@16: Chris@16: template< class T1 , class T2 > Chris@16: struct is_pair< std::pair< T1 , T2 > > : public boost::mpl::true_ Chris@16: { Chris@16: }; Chris@16: Chris@16: } // namespace odeint Chris@16: } // namespace numeric Chris@16: } // namespace boost Chris@16: Chris@16: Chris@16: #endif // BOOST_NUMERIC_ODEINT_UTIL_IS_PAIR_HPP_INCLUDED