Date: Wed, 21 May 2025 16:12:11 +0800
The comma expression requires that the expressions on both sides of the
colon are of the same type. But I think this syntax should be accepted:
bool AllInUniversial();
std::optional<int> r = AllInUniversial() ? 42 : std::nullopt;
colon are of the same type. But I think this syntax should be accepted:
bool AllInUniversial();
std::optional<int> r = AllInUniversial() ? 42 : std::nullopt;
Received on 2025-05-21 08:12:09