You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, generic parameters render in function/object documentation with the same formatting as links to type aliases (i.e. red-colored text), but are not links at all. This can be confusing, especially in the case of a nontemplated member function of a templated class, where the parameter occurs without any obvious context to indicate that it is a generic parameter.
These should be links to the corresponding entry in the "type parameter" section (or just to the "type parameter" section itself if that's not easy/possible), and should render in a different color.
The text was updated successfully, but these errors were encountered:
My feeling is that infer X is a type parameter, just one whose value has been inferred based on another provided parameter, and that linking to the type parameter section would be sufficient (maybe not optimal; it'd be cool if we could have a separate "inferred" section eventually).
Currently, generic parameters render in function/object documentation with the same formatting as links to type aliases (i.e. red-colored text), but are not links at all. This can be confusing, especially in the case of a nontemplated member function of a templated class, where the parameter occurs without any obvious context to indicate that it is a generic parameter.
These should be links to the corresponding entry in the "type parameter" section (or just to the "type parameter" section itself if that's not easy/possible), and should render in a different color.
The text was updated successfully, but these errors were encountered: