Use using aliases to avoid instantiating lots of types
Details
Details
- Reviewers
ldionne Mordante var-const huixie90 - Group Reviewers
Restricted Project - Commits
- rG5fab33af7f08: [libc++] Avoid instantiating type_trait classes
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
LGTM assuming fixing the GCC issues don't require any significant changes. My preference would actually be to rewrite the SFINAE in a separate patch prior to this one, so that this one doesn't need to change at all. If you do that, ping me on Discord so I can fast track it.
Comment Actions
It was just replacing _IsSame<typename remove_cv<_Tp>::type, void>::value with is_void<_Tp>::value, so I don't think it's worth an extra PR.