You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Dima Korolev (JIRA)" <ji...@apache.org> on 2014/03/06 08:13:45 UTC

[jira] [Commented] (THRIFT-2221) Generate c++ code with std::shared_ptr instead of boost::shared_ptr.

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

Dima Korolev commented on THRIFT-2221:
--------------------------------------

Hi,

$0.02: I've put together a small piece of code that illustrates the issue along with a quick workaround: https://github.com/dkorolev/marvin/blob/master/test/README.md

Glad to see you're on it!

Thanks,
Dima

> 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.2#6252)