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 | ||
---|---|---|
1201–1202 | ||
1208–1210 | 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. | |
1208–1211 | 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 | ||
---|---|---|
1208–1211 | I tried this locally and it works, let's see what the CI thinks. |