The std::forward is a conditional r-value (specifically x-value) cast.
std::forward is primarily designed to work in conjunction with universal references and will only cast to an r-value if the template argument isn't an l-value reference type.
Compiler Explorer link: https://compiler-explorer.com/z/E5dcPh6T3