BIND 10 #2547: Implement Lease{4, 6}Ptr::operator== that always throws
BIND 10 Development
do-not-reply at isc.org
Fri Dec 7 12:06:52 UTC 2012
#2547: Implement Lease{4,6}Ptr::operator== that always throws
-------------------------------------+-------------------------------------
Reporter: tomek | Owner:
Type: | Status: new
enhancement | Milestone: DHCP
Priority: very | Outstanding Tasks
low | Keywords:
Component: dhcp | 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 |
-------------------------------------+-------------------------------------
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.
--
Ticket URL: <http://bind10.isc.org/ticket/2547>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list