!!的用处

bool Player::IsSceneValid(void)
{

  return !!m_spScene;

}

原文地址:https://www.cnblogs.com/vanishfan/p/3241639.html