title: checking of constructor parameter
body: <pre><code>class item
  {
      int i;
  
    public:
      item(int no) {
  
      }
  };
  </code></pre>
  
  <p>I want to check the constructor parameter. If it is found to hold a negative value, then object creation should be stopped.</p>
  
  <p>Exceptions can not be used here as the targeted system does not support exceptions.</p>