There is one line of C++ code shown below.
return ::as_Register(value() >> 1);
I just want to know what's the meaning of the '::' which has nothing before it.
Is it the C++ syntax? Can there be nothing before '::'? Such as return ::myMalloc(size)?
The code is from jdk8 openjdk/hotspot/src/cpu/x86/vm/vmreg_x86.inline.hpp
.
I am deeply studying the JDK.