title: std::strcpy not declared in this scope DESPITE #include <cstring>
body: <p>Simple bit of code. It's obviously incomplete as of this point, but it should compile. I'm converting this to Linux from Visual Studio. When I compile with g++ test.cpp I get this error:</p>
  
  <blockquote>
    <p>In file included from test.cpp:2:0: <BR>String.h: In constructor
    String::String(char*): <BR>String.h:24:2: error: strcpy is not a
    member of std   std::strcpy(pointer_Object, s);</p>
  </blockquote>
  
  <pre><code>#ifndef _STRING_H
  #define _STRING_H
  
  #include &lt;cstring&gt;
  #include "ArrayClass.h"
  #include "Exception.h"
  
  class String : virtual public ArrayClass&lt;char&gt;
  {
  
  public:
      String();
      String(char* s);
  
  };
  
  String::String() : ArrayClass&lt;char&gt;(1,'\0') {}
  
  String::String(char* s) : ArrayClass&lt;char&gt;(std::strlen(s)+1)
  {
      std::strcpy(pointer_Object, s);
  }
  
  #endif
  </code></pre>
  
  <p>It seems like I've been over it backwards and forwards. Any Ideas?</p>
  
  <p>Compiling with these:</p>
  
  <ul>
  <li><p>libgcc-4.9.2-6.fc21.i686</p></li>
  <li><p>gcc-4.9.2-6.fc21.x86_64</p></li>
  <li><p>gcc-c++-4.9.2-6.fc21.x86_64</p></li>
  <li><p>libgcc-4.9.2-6.fc21.x86_64</p></li>
  </ul>