[libcxx-commits] [PATCH] D132312: [libc++][spaceship] Implement `operator<=>` for `list`
Adrian Vogelsgesang via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Aug 21 13:30:12 PDT 2022
avogelsgesang added inline comments.
================
Comment at: libcxx/include/list:2341
+template<class _Tp, class _Allocator>
+__synth_three_way_result<_Tp>
+operator<=>(const list<_Tp, _Allocator>& __x, const list<_Tp, _Allocator>& __y)
----------------
huixie90 wrote:
> huixie90 wrote:
> > `_LIBCPP_HIDE_FROM_ABI`
> perhaps I missed something but have you included the header that defines `__synth_three_way_result`
the complete `<compare>` header is a standard-mandated include. See line 226
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132312/new/
https://reviews.llvm.org/D132312
More information about the libcxx-commits
mailing list