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

Ben Craig commented on THRIFT-2242:
-----------------------------------

It's probably going to be a while before we get to this issue.  Thrift's tests 
and tutorials still have issues building in the presence of std::shared_ptr.  
C++11 support isn't widespread at this point, so Thrift still needs to support 
C++03.  It may be possible to have a config switch (like you mentioned), but 
that increases testing burden, and it makes life for clients painful when they 
upgrade compilers.

This will probably get addressed at some point, but it will likely be a few 
years.

> Generate C++11 code
> -------------------
>
>                 Key: THRIFT-2242
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2242
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.9.1
>            Reporter: Vitali Lovich
>
> unordered_map instead of map, unordered_set instead of set, noexcept instead 
> of throw() (unless the exact semantics of throw() are needed which seems 
> unlikely).
> It should use the shared_ptr implementation that the library is configured 
> with.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to