title: Linked List implementation with structures or class?
body: <p>I am starting <strong>data structures in C++</strong> and while reading, I came up to the following snippet,</p>
  
  <pre><code>template &lt;class Node_entry&gt;
  struct Node {
  // data members
  Node_entry entry;
  Node&lt;Node_entry&gt; *next;
  // constructors
  Node( );
  Node(Node_entry, Node&lt;Node_entry&gt; *link = NULL);
  };
  </code></pre>
  
  <p>Can anyone please elaborate why the author choose a structure and not a class for the implementation of the <code>singly linked list</code>? Thanks.</p>