[ 
https://issues.apache.org/jira/browse/AVRO-1542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16470963#comment-16470963
 ] 

ASF GitHub Bot commented on AVRO-1542:
--------------------------------------

ecatmur commented on issue #203: AVRO-1542: Replace deprecated std::auto_ptr
URL: https://github.com/apache/avro/pull/203#issuecomment-388153429
 
 
   @dbenson2000 yes, that would work. VS2017 in C++17 mode removes `auto_ptr`, 
but it is present (though deprecated) in C++14 mode (`/std:c++14`). 
Boost.PtrContainer supports C++17 removal of `auto_ptr` from Boost 1.67, after 
https://github.com/boostorg/ptr_container/pull/8

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> std::auto_ptr
> -------------
>
>                 Key: AVRO-1542
>                 URL: https://issues.apache.org/jira/browse/AVRO-1542
>             Project: Avro
>          Issue Type: Improvement
>          Components: c++
>    Affects Versions: 1.7.6
>            Reporter: Sean Middleditch
>            Priority: Trivial
>
> std::auto_ptr is deprecated, meaning that it may be removed from a future 
> version of the C++ standard (though vendors would not likely remove it... 
> probably).
> Avro should at its next API-breaking opportunity replace its use of auto_ptr 
> with std::unique_ptr or shared_ptr or a custom smart pointer.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to