coding-style

What does "::" (double colon) mean?


I've seen :: in some documentations, e.g., xn::Generator::StartGenerating(), and was wondering what it exactly signified?


Solution

  • It's the scope resolution operator in C++.

    http://en.wikipedia.org/wiki/Scope_resolution_operator

    See also: whats the difference between dot operator and scope resolution operator.