Opened 10 years ago
Closed 9 years ago
#7441 closed Bugs (invalid)
boost:::bind ambiguity with std::tr1 (MSVS2008)
| Reported by: | Owned by: | Peter Dimov | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | bind |
| Version: | Boost 1.51.0 | Severity: | Problem |
| Keywords: | Cc: | viboes |
Attachments (1)
Change History (4)
by , 10 years ago
comment:1 by , 10 years ago
| Cc: | added |
|---|
comment:2 by , 10 years ago
You may be right, I don't claim C++ expertise; but I thought the global using declaration would provide the desired guidance.
comment:3 by , 9 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
Because 'a' is of type std::tr1::function, argument-dependent lookup (ADL) finds std::tr1::bind as well.
Note:
See TracTickets
for help on using tickets.

IMO, this code is requesting the ambiguity and the library can not do anything for you.