Make __compressed_pair fully constexpr
Details
Details
- Reviewers
• Quuxplusone ldionne nilayvaish - Group Reviewers
Restricted Project - Commits
- rGa376a3f354ac: [libc++] Make __compressed_pair fully constexpr
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libcxx/include/__memory/compressed_pair.h | ||
---|---|---|
61–62 | Consider linebreaking before the return type, now that these lines are so long. Ditto below. | |
168–169 | Here and below I'd prefer to leave the whitespace alone. But no big deal either way. _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11 void swap(__compressed_pair& __x) _NOEXCEPT_(__is_nothrow_swappable<_T1>::value && __is_nothrow_swappable<_T2>::value) |
Consider linebreaking before the return type, now that these lines are so long. Ditto below.