BIND 10 #2084: ambiguous call to [boost::]bind

BIND 10 Development do-not-reply at isc.org
Thu Jun 28 20:13:30 UTC 2012


#2084: ambiguous call to [boost::]bind
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:
  fdupont                            |                Status:  closed
                       Type:         |             Milestone:  New Tasks
  enhancement                        |            Resolution:  fixed
                   Priority:         |             Sensitive:  0
  medium                             |           Sub-Project:  Core
                  Component:         |  Estimated Difficulty:  0
  Unclassified                       |           Total Hours:  0
                   Keywords:         |
            Defect Severity:         |
  Medium                             |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------

Comment (by fdupont):

 Replying to [comment:1 jinmei]:
 >
 > I don't know why 'using namespace boost' didn't work for identifying
 > the correct definition,

 => it works for the bind() system call but it seems bind() was proposed
 for the next STL so conflicts (i.e., it is the same problem than for
 shared_ptr).

  >but in any case I agree it's better not to
 > try to incorporate the entire boost namespace, and then qualifying
 > boost:: is a MUST.

 => fully agree!

 > This is so simple so I directly made the change on master and pushed
 > it.  I'm closing the ticket.

 thanks (and if this reopens the ticket please reclose it as I don't know
 if I may...)

-- 
Ticket URL: <http://bind10.isc.org/ticket/2084#comment:3>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list