2 colons and no identifier infront ... wtf?

Hi, what does the two consecutive colons in the text with bold letters mean?

1
2
3
4
5
6
7
8
9
10
static void func ()
{
}

ctor::ctor ()
  : member_1 (),
    member_2 (::func ()),
    member_3 ()
{
}


Is this a standard c++ syntax?
Last edited on
Ok I got the answer again:
http://en.wikipedia.org/wiki/Scope_resolution_operator

By the way writing in forums most of the time helps me to find myself the answare before someone to reply to my topic.
Yes it is standard syntax and it means that func is in the global namespace. This could be useful if the class also has a function named func.
Topic archived. No new replies allowed.