Opened 17 years ago
Closed 17 years ago
#394 closed Bugs (None)
boost/functional addressof collision
| Reported by: | fosterbrereton | Owned by: | nobody |
|---|---|---|---|
| Milestone: | Component: | None | |
| Version: | None | Severity: | |
| Keywords: | Cc: |
Description
in boost/functional.hpp, line 473:
if (!detail::function::has_empty_target(addressof(f))) {
addressof is a function that resides in the Metrowerks namespace as
well, so there are instances in boost::bind that will fail with an
ambiguous lookup. Specifying boost::addressof explicitly will fix this
problem.
Note:
See TracTickets
for help on using tickets.
