You're right. My mistake. Iowa and SD and North Carolina classes all had 16 inchers. The Hood had 15 in and so did some older British classes.
If memory serves, the last ship in commission anywhere with 8" main armament was the Argentine battleship (formerly US Navy heavy cruiser) Belgrano. The Royal Navy introduced her to modern submarine torpedoes, and she currently resides at the bottom of the south Atlantic ...