BIND 10 #2432: define and implement base and libdns++ version of RRsetCollection

BIND 10 Development do-not-reply at isc.org
Mon Dec 31 05:45:16 UTC 2012


#2432: define and implement base and libdns++ version of RRsetCollection
-------------------------------------+-------------------------------------
            Reporter:  jinmei        |                        Owner:
                Type:  task          |  vorner
            Priority:  medium        |                       Status:
           Component:  libdns++      |  reviewing
            Keywords:                |                    Milestone:
           Sensitive:  0             |  Sprint-20130108
         Sub-Project:  DNS           |                   Resolution:
Estimated Difficulty:  5             |                 CVSS Scoring:
         Total Hours:  0             |              Defect Severity:  N/A
                                     |  Feature Depending on Ticket:
                                     |  loadzone-ng
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------

Comment (by muks):

 Replying to [comment:13 muks]:
 > Replying to [comment:12 muks]:
 > > As these iterator implementations are tied to the
 `RRsetCollectionBase` implementations,
 > > I'm not sure how you can check for the valid implementation type in
 the base class.
 >
 > We can compare identical types though with `typeid`. Perhaps that's what
 you mean.

 We'd have to `dynamic_cast` the iterator object in the implementation
 anyway to do the equals check. Perhaps make a note of it in the comments
 instead, asking implementations to return `false` if the cast fails?

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


More information about the bind10-tickets mailing list