mirror of
https://github.com/boostorg/utility.git
synced 2025-05-08 10:24:00 +00:00
std::bind1st -> boost::bind1st
[SVN r9682]
This commit is contained in:
parent
85c2a35257
commit
d6d88db6e8
@ -65,8 +65,8 @@ main(int, char*[])
|
||||
|
||||
std::cout << "adding 4 to each element in the array:" << std::endl;
|
||||
|
||||
std::copy(boost::make_transform_iterator(x, std::bind1st(std::plus<int>(), 4)),
|
||||
boost::make_transform_iterator(x + N, std::bind1st(std::plus<int>(), 4)),
|
||||
std::copy(boost::make_transform_iterator(x, boost::bind1st(std::plus<int>(), 4)),
|
||||
boost::make_transform_iterator(x + N, boost::bind1st(std::plus<int>(), 4)),
|
||||
std::ostream_iterator<int>(std::cout, " "));
|
||||
std::cout << std::endl;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user