/usr/include/boost/numeric/odeint/util
NameSizeModeActions
detail/-0755rm
bind.hpp17100644editdlrm
copy.hpp21580644editdlrm
is_pair.hpp8950644editdlrm
is_resizeable.hpp21020644editdlrm
multi_array_adaption.hpp34930644editdlrm
n_ary_helper.hpp40770644editdlrm
odeint_error.hpp15360644editdlrm
resize.hpp30790644editdlrm
resizer.hpp19410644editdlrm
same_instance.hpp11720644editdlrm
same_size.hpp30660644editdlrm
split.hpp14730644editdlrm
split_adaptor.hpp31010644editdlrm
state_wrapper.hpp10980644editdlrm
stepper_traits.hpp15460644editdlrm
ublas_wrapper.hpp98890644editdlrm
unit_helper.hpp32090644editdlrm
unwrap_reference.hpp24420644editdlrm
Edit: /usr/include/boost/numeric/odeint/util/same_instance.hpp (1172B)
/* [auto_generated] boost/numeric/odeint/util/same_instance.hpp [begin_description] Basic check if two variables are the same instance [end_description] Copyright 2012 Karsten Ahnert Copyright 2012 Mario Mulansky Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_NUMERIC_ODEINT_UTIL_SAME_INSTANCE_HPP_INCLUDED #define BOOST_NUMERIC_ODEINT_UTIL_SAME_INSTANCE_HPP_INCLUDED namespace boost { namespace numeric { namespace odeint { template< class T1 , class T2 , class Enabler=void > struct same_instance_impl { static bool same_instance( const T1& /* x1 */ , const T2& /* x2 */ ) { return false; } }; template< class T > struct same_instance_impl< T , T > { static bool same_instance( const T &x1 , const T &x2 ) { // check pointers return (&x1 == &x2); } }; template< class T1 , class T2 > bool same_instance( const T1 &x1 , const T2 &x2 ) { return same_instance_impl< T1 , T2 >::same_instance( x1 , x2 ); } } // namespace odeint } // namespace numeric } // namespace boost #endif