mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-23 17:37:15 +02:00
Replaced vector::data() with &v[0] for compatibility with older compilers that don't provide this function.
This commit is contained in:
@ -62,7 +62,7 @@ int main()
|
||||
// Trac #12895
|
||||
boost::zip_iterator<
|
||||
TUPLE<int*, std::string*>
|
||||
> i(MAKE_TUPLE(vi.data(), vs.data()));
|
||||
> i(MAKE_TUPLE(&vi[0], &vs[0]));
|
||||
|
||||
BOOST_TEST(boost::fusion::at_c<0>(* i ) == 42);
|
||||
BOOST_TEST(boost::fusion::at_c<1>(* i ) == "kokoro");
|
||||
|
Reference in New Issue
Block a user