Breaking creation of object in constructor
<p>Constructor in my class checks for some condition. In some case it should break the creation of the object. Should I put there a destructor or just return statement?</p>

<p>It goes something like this:</p>

<p>Somewhere in the code:</p>

<pre><code>new Obj( string );
</code></pre>

<p>and my constructor:</p>

<pre><code>Obj::Obj( string ) {
    if( string == "something" ) {
        // should I put this here or only return?
        Obj::~Obj();
        return;
    }
    // ...
}
</code></pre>

<p>I know that I can check the condition before creation of the object, but I just wonder if it's correct (if there are no memory leaks) because it compiles well without crashing at runtime.</p>
