BIND 10 #3334: Use RdataPimplHolder instead of std::auto_ptr in RDATA parsers

BIND 10 Development do-not-reply at isc.org
Fri Feb 7 13:06:56 UTC 2014


#3334: Use RdataPimplHolder instead of std::auto_ptr in RDATA parsers
-------------------------------------+-------------------------------------
                   Reporter:  muks   |                 Owner:  UnAssigned
                       Type:         |                Status:  new
  enhancement                        |             Milestone:  New Tasks
                   Priority:         |              Keywords:
  medium                             |             Sensitive:  0
                  Component:         |           Sub-Project:  DNS
  libdns++                           |  Estimated Difficulty:  0
               CVSS Scoring:         |           Total Hours:  0
            Defect Severity:  N/A    |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
 Various RDATA parsers in `libdns++` use `std::auto_ptr` but it is
 deprecated in C++11. We currently do not allow the use C++11 features, but
 stopping to use `std::auto_ptr` seems wise anyway going forward.

 #2185 (TLSA parser) introduces a `RdataPimplHolder` class that is a drop-
 in replacement for how `std::auto_ptr` is used in the RDATA parsers. This
 ticket is to do the replacements. Please do it after #2185 has been merged
 to master.

-- 
Ticket URL: <http://bind10.isc.org/ticket/3334>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list