Please help with this struct declaration

i know that module its a void pointer in PluginLoader but ,

What means the whole expression: PluginLoader () : module (0) { }

struct PluginLoader
{
void* module;

PluginLoader ()
: module (0)
{}

~PluginLoader ()
{
if (module)
{
FreeLibrary ((HMODULE)module);
}
}

};

thanks in advance
Last edited on
It's a constructor that sets module to 0. See http://www.cprogramming.com/tutorial/initialization-lists-c++.html
thanks for your help now i got it
Topic archived. No new replies allowed.