Skip to content

Conversation

@HuaHuaY
Copy link
Contributor

@HuaHuaY HuaHuaY commented Jan 7, 2026

decay_t will turn T[] into T* and function into a function pointer. It is not as accurate as remove_cvref_t when obtaining the original type.

https://stackoverflow.com/questions/74257533/difference-between-stddecay-and-stdremove-cvref

@wgtmac wgtmac merged commit c3e6ff7 into apache:main Jan 8, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants