There seems to be some parameters that has not been used in the __thread_local_inner macro of the unstabilized standard library. #65993
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
When I tried to learn
std::thread_local
by reading the implementation in the standard library, I found such a piece of code. There seems to be some parameters that has not been used in the__thread_local_inner
macro of the unstabilized standard library.$(#[$attr:meta])*
,$vis
and$name
in(@key $(#[$attr:meta])* $vis:vis $name:ident, $t:ty, $init:expr)
seems to be useless.Since this is a macro without stability, why don't we remove these parameters? Like
The text was updated successfully, but these errors were encountered: