mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
added std:: to unary_function
[SVN r8321]
This commit is contained in:
parent
6e78270140
commit
f7ed0aaeed
@ -60,7 +60,7 @@ struct mult_functor {
|
||||
|
||||
template <class Pair>
|
||||
struct select1st_
|
||||
: public unary_function<Pair, typename Pair::first_type>
|
||||
: public std::unary_function<Pair, typename Pair::first_type>
|
||||
{
|
||||
const typename Pair::first_type& operator()(const Pair& x) const {
|
||||
return x.first;
|
||||
@ -139,7 +139,7 @@ main()
|
||||
boost::random_access_iterator_test(i, N, array);
|
||||
|
||||
Projection::const_iterator j = pair_array;
|
||||
boost::random_access_iterator_test(i, N, array);
|
||||
boost::random_access_iterator_test(j, N, array);
|
||||
|
||||
boost::const_nonconst_iterator_test(i, ++j);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user