forked from boostorg/range
make intel happy with type_erased static_assert calls.
This commit is contained in:
@ -453,21 +453,21 @@ namespace boost_range_adaptor_type_erased_test
|
|||||||
typedef boost::any_range_type_generator<
|
typedef boost::any_range_type_generator<
|
||||||
std::vector<int> >::type any_range_type;
|
std::vector<int> >::type any_range_type;
|
||||||
|
|
||||||
BOOST_STATIC_ASSERT(
|
BOOST_STATIC_ASSERT((
|
||||||
boost::is_same<
|
boost::is_same<
|
||||||
int,
|
int,
|
||||||
boost::range_value<any_range_type>::type
|
boost::range_value<any_range_type>::type
|
||||||
>::value
|
>::value
|
||||||
);
|
));
|
||||||
|
|
||||||
BOOST_STATIC_ASSERT(
|
BOOST_STATIC_ASSERT((
|
||||||
boost::is_same<
|
boost::is_same<
|
||||||
boost::random_access_traversal_tag,
|
boost::random_access_traversal_tag,
|
||||||
boost::iterator_traversal<
|
boost::iterator_traversal<
|
||||||
boost::range_iterator<any_range_type>::type
|
boost::range_iterator<any_range_type>::type
|
||||||
>::type
|
>::type
|
||||||
>::value
|
>::value
|
||||||
);
|
));
|
||||||
|
|
||||||
any_range_type rng = c | type_erased_t();
|
any_range_type rng = c | type_erased_t();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user