79685413

Date: 2025-07-01 01:20:48
Score: 2
Natty:
Report link

std::cout << std::launder(&a)->n;✅ YesUses std::launder --correct behavior

a.h();✅ YesAlso uses std::launder(this)

a.g();❌ NoUses this->n -- UB possible

std::cout << a.n;❌ NoDirect access --may read stale value

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alphonce Mulumba