O'Reilly logo
  • Yu Yang thinks this is interesting:

  if (selectedType != ~0u)

From

Cover of Vulkan™ Programming Guide

Note

It's wrong here, it should be
if (selectedType == ~0u)