title: Why does this code compile without errors in C++17?
body: <p>I have deleted all the constructors, even then following code is working perfectly. How and why ?</p>
  <pre><code>class Ax
  {    
      public:
      
      Ax() = delete;
      Ax(Ax const&amp;)=delete;
      Ax(Ax&amp;&amp;)=delete;
      void operator=(Ax const&amp;)=delete;
      void operator=(Ax&amp;&amp;)=delete;
  
      void print()
      {
          cout &lt;&lt; &quot;Hello \n&quot;;
      }
  };
  
  int main(int argc, char** argv) 
  {           
      Ax{}.print();
      return 0;
  }
  </code></pre>