qiuhuiming opened a new issue, #2182:
URL: https://github.com/apache/brpc/issues/2182

   **Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)**
   
   In some scenario, the task structures do not have copy constructor, but have 
move constructor. In this case, we cannot use the  `execution_queue_execute` 
function directly. I think it would be better to provide an overload function 
which takes rvalue task.
   
   在有一些场景中,Task不可支持拷贝构造,仅支持移动构造,就需要execution_queue_execute提供一个右值版本的重载。
   
   **Describe the solution you'd like (描述你期望的解决方法)**
   
   为execution_queue_execute添加右值引用版本,右值版本的内部实现调用移动构造。
   
   
   **Describe alternatives you've considered (描述你想到的折衷方案)**
   
   
   **Additional context/screenshots (更多上下文/截图)**
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to