BIND 10 #2053: LabelSequence::toText() and operator<<

BIND 10 Development do-not-reply at isc.org
Mon Jul 2 01:19:19 UTC 2012


#2053: LabelSequence::toText() and operator<<
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:  jinmei
  jinmei                             |                Status:  reviewing
                       Type:  task   |             Milestone:
                   Priority:  low    |  Sprint-20120703
                  Component:         |            Resolution:
  libdns++                           |             Sensitive:  0
                   Keywords:         |           Sub-Project:  DNS
            Defect Severity:  N/A    |  Estimated Difficulty:  0
Feature Depending on Ticket:         |           Total Hours:  0
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
Changes (by muks):

 * owner:  muks => jinmei


Comment:

 Hi Jinmei

 Replying to [comment:7 jinmei]:
 > It's quite  likely `LabelSequence` will stop holding a `Name` object
 > directly (see #2086).  So I'd avoid relying on it.  Perhaps we should
 > do it in a reversed way: move the current `Name::toText` logic to
 > `LabelSequence`, which for now uses the internal data structure of
 > `Name` (eventually changed to even lower-level representation).
 > `Name::toText()` will create `LabelSequence` and call its revised
 > toText().
 >

 Done. The code is also a little bit smaller now due to the reorganization.

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


More information about the bind10-tickets mailing list