This patch qualifies calls to ref and cref inside ref(reference_wrapper<T>) and cref(reference_wrapper<T>), respectively. These previously unqualified calls could break in the presence of user functions called ref/cref inside associated namespaces: https://gcc.godbolt.org/z/8VfprT
Fixes https://bugs.llvm.org/show_bug.cgi?id=44398.
Thanks to @Quuxplusone for creating that Godbolt test case and submitting the bug.