Repository navigation
[GNATS 26905] Spurious diagnostic no instance of function template "boost::asio ::basic_waitable_timer<Clock, WaitTraits, Executor>" #145
jhsedg
started this conversation in
Issue Triage - General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Customer bug ID
cobalt/test/any_completion_handler.test/any_completion_handler.cpp, gnats/_26905.C
Description
"../libs/cobalt/test/any_completion_handler.cpp", line 33: error #304: no instance of function template "boost::asio::basic_waitable
_timer<Clock, WaitTraits, Executor>::async_wait [with Clock=std::chrono::_V2::steady_clock, WaitTraits=boost::asio::wait_traits<std:
:chrono::_V2::steady_clock>, Executor=boost::asio::any_io_executor]" matches the argument list
argument types are: (boost::asio::consign_t<boost::asio::any_completion_handler<void (boost::system::error_code)>, std::
shared_ptrboost::asio::steady_timer>)
object type is: boost::asio::steady_timer
timer->async_wait(boost::asio::consign(std::move(handler), timer));
^
"../boost/asio/basic_waitable_timer.hpp", line 768: note #3327-D: candidate function template "boost::asio::basic_waitable_timer<Clo
ck, WaitTraits, Executor>::async_wait [with Clock=std::chrono::V2::steady_clock, WaitTraits=boost::asio::wait_traits<std::chrono::
V2::steady_clock>, Executor=boost::asio::any_io_executor]" failed deduction
auto async_wait(
^
This test also takes a long time, so it is _26905.C
All reactions