А
Size: a a a
А
Т8
O
$ cat main.cpp
auto;
$ ./a.out
42RM
RM
RM
RM
TS
AB
O
RM
Т8
RM
BB
TS
O
AB
struct S {
long l;
std::string s;
auto operator<=>(const S&) = default;
};
S s1{}, s2{};
assert(s1 == s2 && s1 <= s2 && !(s1 > s2));O
struct S {
long l;
std::string s;
auto operator<=>(const S&) = default;
};
S s1{}, s2{};
assert(s1 == s2 && s1 <= s2 && !(s1 > s2));std::tuple?RM
struct S {
long l;
std::string s;
auto operator<=>(const S&) = default;
};
S s1{}, s2{};
assert(s1 == s2 && s1 <= s2 && !(s1 > s2));