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