title: Create a std:array of char from a char pointer without copy
body: <p>In C++, is it possible to create a std::array of char (or a std::vector) from a char pointer without copying data?</p>
  <p>I know I can write something like that but data are copied into the array, which is not optimized:</p>
  <pre><code>#define  BUFFER_SIZE       256
  
  ...
  
  char *buffer;
  std::array&lt;char, BUFFER_SIZE&gt; data(buffer, buffer + BUFFER_SIZE);
  </code></pre>
  <p>I would like a solution to pass data by pointer, without copying data.</p>