implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20
Open
- Dominant language
- C++
- Stars
- 266
- Forks
- 74
- PR merge metrics
- No merged PRs in 30d
Description
Compiling with clang in C++20 mode gives a "implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20"
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the warning with clang in C++20 mode and locate the header implementation containing the affected lambda capture. Update the capture so the deprecation no longer appears, then verify the timer library still compiles and behaves correctly in C++20 mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100