C++ APIView - templated method on one line is showing up as part of another constant below
- Dominant language
- C#
- Stars
- 135
- Forks
- 260
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 143
Description
Leftover `template` showing up in APIView when it isn't part of that particular public API, but from the line above.
https://apiview.dev/Assemblies/Review/a5fe5245690f4fb986d28b4231f96dd1/6d221221c6e54b9c867b649f720573f2#Azure::Storage.InfiniteLeaseDuration

https://github.com/Azure/azure-sdk-for-cpp/blob/44cfd6c1dd5e243752ba81546e6f1df1fb05f1d5/sdk/storage/azure-storage-common/inc/azure/storage/common/storage_common.hpp#L11-L15
This is a low priority bug, because I think we probably should just remove that line of code anyway.
Contributor guide
Research direction
Start with the APIView review link and compare the displayed InfiniteLeaseDuration entry with sdk/storage/azure-storage-common/inc/azure/storage/common/storage_common.hpp lines 11-15. Trace how the C++ APIView output associates a one-line templated method with the following constant; done means the unrelated template text no longer appears under that public API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100