BIND 10 #3298: Use shared_ptr instead of auto_ptr in RDATA parsers

BIND 10 Development do-not-reply at isc.org
Mon Jan 27 15:38:53 UTC 2014


#3298: Use shared_ptr instead of auto_ptr in RDATA parsers
-------------------------------------+-------------------------------------
            Reporter:  muks          |                        Owner:
                Type:  enhancement   |  UnAssigned
            Priority:  medium        |                       Status:
           Component:  libdns++      |  closed
            Keywords:                |                    Milestone:  New
           Sensitive:  0             |  Tasks
         Sub-Project:  DNS           |                   Resolution:
Estimated Difficulty:  0             |  invalid
         Total Hours:  0             |                 CVSS Scoring:
                                     |              Defect Severity:  N/A
                                     |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
Changes (by muks):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 When working on another ticket, I realized that replacing the use of
 `auto_ptr` with `shared_ptr` to manage the `Impl` pointer member of the
 `Rdata` class is not possible as the `Impl` pointer is an opaque type in
 the headers (will not work with `scoped_ptr` and `shared_ptr` in those
 locations).

 So we can close this ticket as invalid.

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


More information about the bind10-tickets mailing list