title: How to create and use list, of type "customClass"
body: <p>I have created a class "Node" to contain a bunch of data.  I am trying to make a list of the same type of this class.  I am having errors in trying to use push_back() or any of the other functions.</p>
  
  <p>error is the following:" 
  /home/.../FIFO.cpp|61|error: no matching function for call to ‘std::list >::push_back(Node*&amp;)’|"</p>
  
  <pre><code>Node *tempProcess;
  list&lt;Node&gt; processList; //list of all processes
  
  tempProcess = new Node(tempArrivInt, tempExecInt);
  processList.push_back(tempProcess);
  </code></pre>
  
  <p>Can someone please help?</p>