Make explicit when a struct is truthy or falsy in C++
<p>I have defined a simple struct <code>mystruct</code> in C++. I would like to be able to use </p>

<pre><code>mystruct a; 
// do things to a
if(a) { 
    /* do things */ 
} 
</code></pre>

<p>directly. Is there a way for me to define the behavior of this?</p>