cplusplus / draft

C++ standards drafts
http://www.open-std.org/jtc1/sc22/wg21/
5.69k stars 748 forks source link

[2024-06 LWG Motion 7] P0843R14 inplace_vector #7090

Closed jensmaurer closed 3 months ago

jensmaurer commented 4 months ago

https://wiki.edg.com/pub/Wg21stlouis2024/StrawPolls/P0843%20inplace_vector.html

burblebee commented 4 months ago

This paper includes the following under the wording for [containers.sequences.inplace.vector.overview]:

LWG Review TODO: We need to review this last clause about constexpr. [...]

Has that happened?

jwakely commented 4 months ago

Yes, LWG reviewed all the wording

frederick-vs-ja commented 4 months ago

The operator<=> seems to suffer from the same problem as that in LWG4071. Is this already discussed or fixed?

jwakely commented 4 months ago

No, I don't think that was discussed.

jwakely commented 4 months ago

The reference implementation was incomplete :angry:

    constexpr friend int /*synth-three-way-result<T>*/
    operator<=>(const inplace_vector& __x, const inplace_vector& __y)