C++ doesn't know how to convert from a constant number (i.e. 2) to a non-constant integer reference (which your functions expect). You may want to either add some consts or change your function so that you're not passing by reference.
I tried both method you have suggested however I still get the an error.
Queue\main.cpp|9|undefined reference to `Queue<int>::Queue()'|
Queue\main.cpp|11|undefined reference to `Queue<int>::enqueue(int)'|
||=== Build finished: 2 errors, 0 warnings ===|
By the way I am not sure how to post code in a more readable format any information would be great
Thanks in Advance