What you are referring to is called initializer list. A class or struct can initialize member variables using this list in its constructors.
Example:
struct foo
{
foo() : member_(0) {}
private:
int member_;
};
The initialization list is especially important if you have members that have no default constructor - because when you reach in the body of the constructor, every member will have been created. If you did not choose a proper constructor for this member, compilation will fail.
Example:
struct bar { bar(int) {} };
struct foo
{
foo()
: bar_(0) // does not compile without this line
// because the compiler will try to default
// construct otherwise
{}
private:
bar bar_;
};