You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/11/25 02:16:03 UTC

[GitHub] [incubator-doris] sduzh opened a new issue #4946: Using modern C++ facilities to reduce boost dependency

sduzh opened a new issue #4946:
URL: https://github.com/apache/incubator-doris/issues/4946


   We can reduce  dependency on Boost by replacing parts of it with stdlib equivalents:
   
   - boost::unordered_map -> c++ 11 std::unordered_map
   - boost::mutex -> c++ 11 std::mutex
   - boost::condition_variable -> c++ 11 std::condition_variable
   - boost::lock_guard -> c++ 11 std::lock_guard
   - boost::thread -> c++ 11 std::thread
   - boost::shared_ptr -> c++ 11 std::shared_ptr
   - boost::scoped_ptr -> c++ 11 std::unique_ptr
   - boost foreach -> c++ 11 built-in range-based for
   - boost::variant -> c++ 17 std::variant
   - boost::scoped_array -> c++ 11 std::unique_ptr<T[]>
   - boost::function -> c++ 11 std::function
   - boost::bind -> c++ 11 lambda or std::bind
   - boost::lexical_cast -> c++ std::to_string
   


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] HappenLee commented on issue #4946: Using modern C++ facilities to reduce boost dependency

Posted by GitBox <gi...@apache.org>.
HappenLee commented on issue #4946:
URL: https://github.com/apache/incubator-doris/issues/4946#issuecomment-733482824


   Good idea. Maybe it is a time to consider update c++11 to c++17. 
   This proposal: https://github.com/apache/incubator-doris/issues/3563
   pr:https://github.com/apache/incubator-doris/pull/3626


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] yangzhg commented on issue #4946: Using modern C++ facilities to reduce boost dependency

Posted by GitBox <gi...@apache.org>.
yangzhg commented on issue #4946:
URL: https://github.com/apache/incubator-doris/issues/4946#issuecomment-810039888


   we have upgrad to gcc 10 and c++17, you can start the above substitution


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] yangzhg commented on issue #4946: Using modern C++ facilities to reduce boost dependency

Posted by GitBox <gi...@apache.org>.
yangzhg commented on issue #4946:
URL: https://github.com/apache/incubator-doris/issues/4946#issuecomment-810783257


   I have a pr to repalce filesystem #5579 


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org