Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/numeric/odeint/util/is_pair.hpp @ 125:34e428693f5d vext
Vext -> Repoint
author | Chris Cannam |
---|---|
date | Thu, 14 Jun 2018 11:15:39 +0100 |
parents | c530137014c0 |
children |
rev | line source |
---|---|
Chris@16 | 1 /* |
Chris@16 | 2 [auto_generated] |
Chris@16 | 3 boost/numeric/odeint/util/is_pair.hpp |
Chris@16 | 4 |
Chris@16 | 5 [begin_description] |
Chris@16 | 6 Metafunction to determine if a type is a std::pair<>. |
Chris@16 | 7 [end_description] |
Chris@16 | 8 |
Chris@101 | 9 Copyright 2011 Karsten Ahnert |
Chris@101 | 10 Copyright 2011 Mario Mulansky |
Chris@16 | 11 |
Chris@16 | 12 Distributed under the Boost Software License, Version 1.0. |
Chris@16 | 13 (See accompanying file LICENSE_1_0.txt or |
Chris@16 | 14 copy at http://www.boost.org/LICENSE_1_0.txt) |
Chris@16 | 15 */ |
Chris@16 | 16 |
Chris@16 | 17 |
Chris@16 | 18 #ifndef BOOST_NUMERIC_ODEINT_UTIL_IS_PAIR_HPP_INCLUDED |
Chris@16 | 19 #define BOOST_NUMERIC_ODEINT_UTIL_IS_PAIR_HPP_INCLUDED |
Chris@16 | 20 |
Chris@16 | 21 |
Chris@16 | 22 #include <boost/mpl/bool.hpp> |
Chris@16 | 23 #include <utility> |
Chris@16 | 24 |
Chris@16 | 25 |
Chris@16 | 26 namespace boost { |
Chris@16 | 27 namespace numeric { |
Chris@16 | 28 namespace odeint { |
Chris@16 | 29 |
Chris@16 | 30 template< class T > |
Chris@16 | 31 struct is_pair : public boost::mpl::false_ |
Chris@16 | 32 { |
Chris@16 | 33 }; |
Chris@16 | 34 |
Chris@16 | 35 template< class T1 , class T2 > |
Chris@16 | 36 struct is_pair< std::pair< T1 , T2 > > : public boost::mpl::true_ |
Chris@16 | 37 { |
Chris@16 | 38 }; |
Chris@16 | 39 |
Chris@16 | 40 } // namespace odeint |
Chris@16 | 41 } // namespace numeric |
Chris@16 | 42 } // namespace boost |
Chris@16 | 43 |
Chris@16 | 44 |
Chris@16 | 45 #endif // BOOST_NUMERIC_ODEINT_UTIL_IS_PAIR_HPP_INCLUDED |