Complete the unfinished modernize-type-traits migration left partial by a prior rebase. Replace remaining deprecated std::trait<T>::value accesses with std::trait_v<T> and std::trait<T>::type accesses with std::trait_t<T> for affected standard traits (e.g., is_same, is_integral, is_arithmetic, is_void, remove_reference). Apply consistently wherever the old patterns remain in the codebase. This is a syntactic-only modernization; preserve all existing behavior and public API compatibility.
The repository is checked out at /workspace/repo. Work only on production
source code. Do not modify tests, CMake registration, CI configuration, or the
grading environment. Network access is unavailable and git history contains
only the base revision, so do not spend time looking for upstream commits or
pull requests. Diagnose from the local source, make a production-code change,
and use the smallest relevant target in the existing build tree for local
verification.