title: Howto initialise char array style string in constructor
body: <p>I have a class which I'm serialising to send over a unix socket and it has to have a string which I've stored as a char array.  Can I initialise it in the constructor differently to how I've done it here?</p>
  
  <pre><code>typedef struct SerialFunctionStatus_t {
      SerialFunctionStatus_t() 
          : serial_rx_count(0), serial_tx_count(0), socket_rx_count(0), socket_tx_count(0) 
          { port[0] = '\0'; }
      uint32_t serial_rx_count;
      uint32_t serial_tx_count;
      uint32_t socket_rx_count;
      uint32_t socket_tx_count;
      char port[20];
  } SerialFunctionStatus_t;
  </code></pre>