Possible Duplicate:
What is this weird colon-member syntax in the constructor?
I thought i knew everything but something always seems to pop up. Maybe i am forgetting something. What does the : ::name
mean? I suspect ::google
means from the global namespace use google
, protobuf
, message
. But what does the :
do before it? Theres no text on the left so it cant be a label (or can it?!). So what is it?
Namespace::Namespace()
: ::google::protobuf::Message() {
SharedCtor();
}
-edit- I feel silly, the indention got me. I thought i was looking inside the function body. I was so hoping it would be something new.