You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/12/01 04:02:54 UTC

[GitHub] [pulsar-client-cpp] fregate opened a new issue, #134: [Enhancement] Do not use custom written Optional class

fregate opened a new issue, #134:
URL: https://github.com/apache/pulsar-client-cpp/issues/134

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar-client-cpp/issues) and found nothing similar.
   
   
   ### Version
   
   repo/master
   
   ### Minimal reproduce step
   
   template <> class Optional;
   
   ### What did you expect to see?
   
   Use optional class from boost or std
   
   ### What did you see instead?
   
   Used custom written Optional class
   
   ### Anything else?
   
   At this moment pulsar-client-cpp heavily used boost and std library. I suggest to use boost::optional instead of Optional class.
   Boost::optional well-tested and has similar API with std::optional (at most). 
   In this issue I do not suggest to increase C++ standart to C++17 (from C++11) where std::optional is available, but in the future it can be done easily.
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar-client-cpp] BewareMyPower closed issue #134: [Enhancement] Do not use custom written Optional class

Posted by GitBox <gi...@apache.org>.
BewareMyPower closed issue #134: [Enhancement]  Do not use custom written Optional<T> class
URL: https://github.com/apache/pulsar-client-cpp/issues/134


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org