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

Henrique Mendonça commented on THRIFT-2221:
-------------------------------------------

Hi Chris,
I was also just looking for this ticket THRIFT-1753, thanks Ben.
It would be nice to get rid of the dependency, it would make it a lot easier to 
maintain and build Thrift.
But we need to keep compatibility, which could be achieved by a switch in the 
compiler and loads of preprocessor directives in the library. It's quite a long 
list of changes, as Randy mentioned on the same ticket.
I think it would be a valid patch if you want to go through it and make both 
work with the same code base. Otherwise, I would close this for now.
Thanks for the input.

> 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)

Reply via email to