you can't store references, references are just a way of passing data into a function. Pointers ftw. If you have a list of pointers to MyClass objects, you cant do
MyClass c = queue.front();
as c is an instance of the MyClass object, but queue.front() returns a pointer to a MyClass object.
MyClass * c = queue.front();
will work, and gives you a pointer, c, to the first object in the list.