title: 'memcpy' is not defined in this scope
body: <p>I am getting a "memcpy is not defined in this scope error" with the following piece of code:</p>
  
  <pre><code>CommonSessionMessage::CommonSessionMessage(const char* data, int size) 
      : m_data(new char[size]) {
    memcpy(m_data.get(), data, size);
  }
  </code></pre>
  
  <p>I have looked through this site and google and could not find a solution that would resolve the issue for me.</p>
  
  <p>Any assistance would be appreciated.</p>
  
  <p>Thank you.</p>