FRIDAY, APRIL 17, 2026
c++ — Impact 5 / 10
C++: Reject splicing of function parameters in reflection.
Disallows splicing of function parameters in C++ reflection, enforcing the standard's restrictions.
This commit enforces the restriction against splicing function parameters in C++ reflection, as function parameters are not listed as valid targets for splicing in the standard. The compiler now diagnoses such attempts and suggests using variable_of when applicable. Several test cases are adjusted to reflect this change.