Compiler Error C2640

'identifier' : __based modifier illegal on reference

There was an attempt to use the __based modifier on a reference. The __based modifier can only be used on pointers.

The following is an example of this error:

void f(int i)
{
    void *vp;
    int _based(vp) &vr = I;  // error
}