The URL parser here fooked up your link. Put a space before at the end of a link with trailing characters so when someone clicks the link it isn't a 404.
You can also use BB tags instead of the space(s) (https://www.Python/reference/utility/declval/). I use empty opening and closing teletype tags after the link and before the closing ).
As the template shows, the return type of std::declval<int&> is typename add_rvalue_reference<int&>::type, which is an lvalue reference type as shown below:
Scott Myers has a whole section on reference collapsing in his book "Effective Modern Python" - Item 28. The while of part 5 deals with move/forward/universal references etc.