boostorg / boostorg/asio

Constructor argument of `cancel_after_timer` is missing

Open Beginner friendly
#469 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.6k
Forks
485
PR merge metrics
No merged PRs in 30d

Description

https://github.com/boostorg/asio/blob/a7dc25b4cb6c49a6946d86ea20664f1027203225/include/boost/asio/cancel_after.hpp#L161

Second constructor argument (`basic_waitable_timer& timer`) for `cancel_after_timer,
Clock, WaitTraits, Executor>` is missing here.

Contributor guide

No contributing guide indexed for this repository

Research direction

Open include/boost/asio/cancel_after.hpp at line 161 and compare the cancel_after_timer constructor with the signature described in the issue. Confirm the missing basic_waitable_timer argument and verify the resulting constructor declaration matches its intended parameters; run the relevant Asio tests to ensure the header still builds.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
networking
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
88/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.