title: Struggling with alignas syntax
body: <p>I am trying to use <code>alignas</code> for pointers that are class members, and frankly I am not sure where I supposed to put it.</p>
  
  <p>For instance:</p>
  
  <pre><code>class A
  {
  private:
      int n;
      alignas(64) double* ptr;    
  
  public:
      A(const int num) : n(num), ptr(new double[num])
      {}
  };
  </code></pre>
  
  <p>which I hoped would ensure the data for ptr was aligned on a 64-byte block.
  Using the Intel compiler, it doesn't.</p>
  
  <p>Can anyone point me in the right direction please?</p>