bject already streamed.</p><p>Although example streams all members with one statement, you may split the task into as many statements as you like.</p><blockquote><pre>template &lt;&gt;
class uvmc_print&lt;Packet&gt; {
  public:

  static void do_print(const Packet&amp; t, ostream&amp; os=cout) {
        os &lt;&lt; &quot; enum32:&quot; &lt;&lt; t.enum32
           &lt;&lt; &quot; int64:&quot;  &lt;&lt; t.int64
           &lt;&lt; &quot; int32:&quot;  &lt;&lt; t.int32
           &lt;&lt; &quot; int16:&quot; 