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.

Change History (1)

comment:1 by Douglas Gregor, 17 years ago

Status: assignedclosed
Logged In: YES 
user_id=249098

This is fixed in Boost CVS.
Note: See TracTickets for help on using tickets.