Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/numeric/odeint/external/nt2/nt2_copy.hpp @ 133:4acb5d8d80b6 tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author | Chris Cannam |
---|---|
date | Tue, 30 Jul 2019 12:25:44 +0100 |
parents | f46d142149f5 |
children |
rev | line source |
---|---|
Chris@102 | 1 //============================================================================== |
Chris@102 | 2 // Copyright 2014 LASMEA UMR 6602 CNRS/Univ. Clermont II |
Chris@102 | 3 // Copyright 2014 LRI UMR 8623 CNRS/Univ Paris Sud XI |
Chris@102 | 4 // Copyright 2014 MetaScale SAS |
Chris@102 | 5 // |
Chris@102 | 6 // Distributed under the Boost Software License, Version 1.0. |
Chris@102 | 7 // See accompanying file LICENSE.txt or copy at |
Chris@102 | 8 // http://www.boost.org/LICENSE_1_0.txt |
Chris@102 | 9 //============================================================================== |
Chris@102 | 10 #ifndef BOOST_NUMERIC_ODEINT_EXTERNAL_NT2_NT2_COPY_HPP_INCLUDED |
Chris@102 | 11 #define BOOST_NUMERIC_ODEINT_EXTERNAL_NT2_NT2_COPY_HPP_INCLUDED |
Chris@102 | 12 |
Chris@102 | 13 #include <nt2/core/container/table/table.hpp> |
Chris@102 | 14 |
Chris@102 | 15 #include <boost/numeric/odeint/util/copy.hpp> |
Chris@102 | 16 |
Chris@102 | 17 namespace boost { namespace numeric { namespace odeint { |
Chris@102 | 18 |
Chris@102 | 19 template<typename T, typename S> |
Chris@102 | 20 struct copy_impl< nt2::container::table<T,S> |
Chris@102 | 21 , nt2::container::table<T,S> |
Chris@102 | 22 > |
Chris@102 | 23 { |
Chris@102 | 24 static void copy ( const nt2::container::table<T,S> &v1 |
Chris@102 | 25 , nt2::container::table<T,S> &v2 |
Chris@102 | 26 ) |
Chris@102 | 27 { |
Chris@102 | 28 v2 = v1; |
Chris@102 | 29 } |
Chris@102 | 30 }; |
Chris@102 | 31 } } } |
Chris@102 | 32 |
Chris@102 | 33 #endif |