title: How do you use __declspec(align(16)) with a template?
body: <p>I'm trying to make my <code>class 16-byte</code> aligned with <code>__declspec(align(16))</code>; however it is a template class. </p>
  
  <p>If I place <code>__declspec(align(16))</code> before the template keyword, it tells me that variable attributes are not allowed there.</p>
  
  <p>If I place it before the class keyword, the whole class becomes invalid and all methods show errors.</p>
  
  <p>So how is it done then?</p>