Search before asking
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?
Search before asking
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?