[
https://issues.apache.org/jira/browse/THRIFT-2221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13788127#comment-13788127
]
Ben Craig commented on THRIFT-2221:
-----------------------------------
This probably isn't happening for a while. See some related discussion in the
comments of THRIFT-1753.
Switching to std::shared_ptr would also prevent people without C++11 compilers
from using Thrift. For example, I need to compile binaries for RHEL 5 and RHEL
6 systems. Those Linux distributions ship with GCC 4.1 and GCC 4.4
respectively. There isn't a newer RHEL to upgrade to, at least there isn't as
of 10/7/2013.
> Generate c++ code with std::shared_ptr instead of boost::shared_ptr.
> --------------------------------------------------------------------
>
> Key: THRIFT-2221
> URL: https://issues.apache.org/jira/browse/THRIFT-2221
> Project: Thrift
> Issue Type: Task
> Components: C++ - Compiler
> Affects Versions: 0.9.1
> Environment: C++11 compilers with std::shared_ptr support
> Reporter: Chris Stylianou
> Priority: Minor
> Labels: c++11, compiler, thrift
>
> Most modern compilers now have full support for std::shared_ptr when enable
> with c++11 flags. It would be nice to have the option to generate code that
> uses this instead of boost::shared_ptr. This would enable us to remove
> another boost dependency, on the road to a dependency-free thrift library :)
--
This message was sent by Atlassian JIRA
(v6.1#6144)