In the Southern Pacific cab-forwards, the locomotive ran firebox forward, so the cab (housing both engineer and fireman) was as usual at the firebox end. The tender was then coupled to the smokebox end of the locomotive: the arrangement of parts of the locomotive was thus like that on a conventional steam locomotive, but operating backward: hence one of the nick-names for the type "Back-up" locomotives. This arrangement was obviously only possible with liquid fuel: the SP had a small number of coal-fired 2-8-8-4 locomotives (for use outside the Sierra district with its tunnels and snowsheds), and they were set up in the standard way (smokebox at the front of the locomotive, firebox and cab at the rear, and tender behind the locomotive.
I'm not sure what European types you are referring to, though I think the Italian railways may have experimented with something arranged like a Southern Pacific cab forward. The European steam locomotives operated cab forward that I am familiar with were tank locomotives for short-distance service: cab was at the firebox end of the boiler, with the coal bunker on the other side of the cab from the boiler. (These locomotives were typically thought of as bi-directional, and would thus be operated part of the time with the coal bunker ahead of the cab and the boiler behind it, part of the time the other way around. The trick was that the coal bunker was small enough to allow good visibility over or around it when operated that end first.
There were a small number of American coal-fired locomotives with a similar configuration (coal bunker on the same rigid frame as the boiler, with the cab between the bunker and the firebox end of the boiler). The New York Central had a small number of 2-6-6 and 4-6-6 tank locomotives like this for suburban service. And I think the immense steam turbine electric locomotives built for the Chesapeake & Ohio and for the Norfolk & Western were also set up so the cab would be ahead of the boiler in normal frontward operation, with a coal bunker on a frame extension in front of the cab.