BIND 10 #2547: Implement Lease{4, 6}Ptr::operator== that always throws

BIND 10 Development do-not-reply at isc.org
Fri Mar 1 19:16:30 UTC 2013


#2547: Implement Lease{4,6}Ptr::operator== that always throws
-------------------------------------+-------------------------------------
            Reporter:  tomek         |                        Owner:
                Type:  enhancement   |                       Status:  new
            Priority:  very low      |                    Milestone:  DHCP
           Component:  dhcp          |  Outstanding Tasks
            Keywords:                |                   Resolution:
           Sensitive:  0             |                 CVSS Scoring:
         Sub-Project:  DHCP          |              Defect Severity:  N/A
Estimated Difficulty:  0             |  Feature Depending on Ticket:
         Total Hours:  0             |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
Description changed by stephen:

Old description:

> It's a common mistake to compare pointers to leases rather than leases
> themselves. To easier detect such cases, there should be a comparison
> operator that always throws.
>
> See #2404:comment 11.

New description:

 It's a common mistake to compare pointers to leases rather than leases
 themselves. To easier detect such cases, there should be a comparison
 operator that always throws.

 See ticket:2404#comment:12.

--

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


More information about the bind10-tickets mailing list