title: boost lockfree use user define type
body: <p>I tried to use the boost lockfree library. However, there is an error <code>invalid application of ‘sizeof’ to incomplete type ‘boost::STATIC_ASSERTION_FAILURE&lt;false&gt;’</code> when I set the template parameter to user define type.<br>
  Is there any to resolve it?</p>
  
  <pre><code>typedef struct TMsgBuffer
     {
        char m_puBuffer[512];
        size_t m_iBufferLen;
     } tMsgBuffer;
  
  boost::lockfree::fifo&lt;tMsgBuffer&gt; fifo;
  </code></pre>