mirror of
https://github.com/boostorg/odeint.git
synced 2026-01-19 04:22:12 +00:00
Remove boost::mpl::and
This commit is contained in:
@@ -32,18 +32,6 @@ namespace odeint {
|
||||
|
||||
namespace detail {
|
||||
|
||||
template< class Container1 , class Container2 >
|
||||
void do_copying( const Container1 &from , Container2 &to , boost::mpl::true_ )
|
||||
{
|
||||
boost::range::copy( from , boost::begin( to ) );
|
||||
}
|
||||
|
||||
template< class Container1 , class Container2 >
|
||||
void do_copying( const Container1 &from , Container2 &to , boost::mpl::false_ )
|
||||
{
|
||||
to = from;
|
||||
}
|
||||
|
||||
template< class Container1 , class Container2 >
|
||||
void do_copying( const Container1 &from , Container2 &to , std::integral_constant<bool, true>)
|
||||
{
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#include <type_traits>
|
||||
#include <boost/range/config.hpp>
|
||||
#include <boost/mpl/has_xxx.hpp>
|
||||
#include <boost/mpl/and.hpp>
|
||||
|
||||
namespace boost {
|
||||
namespace numeric {
|
||||
@@ -47,7 +46,7 @@ namespace detail
|
||||
{
|
||||
|
||||
template< typename Range >
|
||||
struct is_range : boost::mpl::and_<range_detail::has_iterator<Range>, range_detail::has_const_iterator<Range> >
|
||||
struct is_range : std::integral_constant<bool, (range_detail::has_iterator<Range>::value && range_detail::has_const_iterator<Range>::value)>
|
||||
{
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user