Since when you instantiate you get a class, that function is like an ordinary member function. It’s defined in that class, so the function is automatically inline.
But it does not really matter here that much. You can define function templates or members of class templates multiple times in a program anyway – you don’t need inline
to tell the compiler about that like in the non-template case.