title: How to initialize a std::array<char, N> with a string literal omitting the trailing '\0'
body: <p>I have a file structure where fixed length strings have no trailing zero.
  How to initialize fields as std::array without trailing zero:</p>
  
  <pre><code>#pragma pack(push, 1)
  struct Data {
      // Compiles, but it has an undesired '\0':
      std::array&lt;char, 6&gt; undesired_number{"12345"};
      // Does not compile:
      std::array&lt;char, 5&gt; number{"12345"}; // stripping '\0'
  };
  #pragma pack(pop)
  </code></pre>