title: Any reason why to use !! in c++?
body: <p>Recently, I came across following code snippet, I couldn't know the reason. Any one has any idea, why negate two times (and not just return the value of doAction())?
  return !!doAction();</p>