The trailing-return-type comes after cv- and ref-qualifiers of a non-static member function. This means the example in the question is the same as T const f(...);
.
§8.4.1 [dcl.fct.def.general] p2
The declarator in a function-definition shall have the form
D1
( parameter-declaration-clause ) cv-qualifier-seqopt ref-qualifieropt exception-specificationopt attribute-specifier-seqopt trailing-return-typeopt
To declare a const
member function, you'd write auto f(...) const -> T const;
.