Merging two sorted linked lists C++
Your code has three issues I can see.....


the stated goal is to return a new list, but your code returns one of the input lists that have been modified to have the merged results. This is buggy.
If the first two elements in each list are equals, your initialization process will fail, one of the comparisons, either the first, or the second has to have an = component, either &lt;= or &gt;=. As it stands, both the current and the other will point to the secondList if the first values are equals.
What's Node&lt;int&gt;? Why is it not Node&lt;t&gt;? Why use templates at all if you have only one template type that works?