This partly reverts D133535 and enables CTAD for more parts in format.
Details
Details
- Reviewers
ldionne - Group Reviewers
Restricted Project - Commits
- rG261b5abf72cf: [libc++][format] Improves CTAD.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libcxx/include/__config | ||
---|---|---|
1202 | ||
1206 | In a follow-up patch, I think we could consider also renaming this macro to _LIBCPP_CTAD_INTENDED_TO_WORK? We can bikeshed on that but I think we can find something better than _LIBCPP_CTAD_SUPPORTED_FOR_TYPE. | |
1206–1208 | Can we instead try this? #define _LIBCPP_CTAD_SUPPORTED_FOR_TYPE(_ClassName) \ template <class ..._Tag> \ _ClassName(typename _Tag::__allow_ctad...) -> _ClassName<_Tag...>; Would that allow handling class templates that take any number of arguments? |
libcxx/include/__config | ||
---|---|---|
1206–1208 | I tried this locally and it works, let's see what the CI thinks. |