Any sane compiler will simplify this into
function cosmicRayDetector() { while(true) { } }
C++ may further 'simplify' this into
function cosmicRayDetector() { return }
Any sane compiler will simplify this into
C++ may further 'simplify' this into