79401659

Date: 2025-01-31 02:51:46
Score: 1
Natty:
Report link

In C++26 you can just put the structured binding declaration as the condition. The test is on the whole object, precisely because of this sort of use case.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Davis Herring