2
0
mirror of https://github.com/boostorg/lambda.git synced 2026-01-25 06:12:27 +00:00

Avoid ambiguities between boost::lambda::bind and std::bind with VC10. Fixes #3075

[SVN r53233]
This commit is contained in:
Steven Watanabe
2009-05-24 22:58:52 +00:00
parent 04ae944c3c
commit 6985fca6ee
4 changed files with 9 additions and 11 deletions

View File

@@ -29,6 +29,7 @@
#endif
using namespace boost::lambda;
namespace bl = boost::lambda;
template<class T>
bool check_tuple(int n, const T& t)
@@ -248,7 +249,7 @@ void delayed_construction()
std::vector<std::pair<int, int> > v;
std::transform(x.begin(), x.end(), y.begin(), std::back_inserter(v),
bind(constructor<std::pair<int, int> >(), _1, _2) );
bl::bind(constructor<std::pair<int, int> >(), _1, _2) );
}
int test_main(int, char *[]) {