What does the following C++ syntax mean?
my_s_module::my_s_module(mylib::cont const& c)
:mylib::s_module{c}
{
// Some content;
}
It looks like inheritance to me. But I know that for inheritance the syntax is a follows:
class Child: public Parent
{
}
And in the first example we have something like that:
Child(some_type const& x): public Parent{x}
{
}
So, I do not know what it means. Could anybody please explain me this syntax?
ADDED
I probably need to add, that in the comments to this code it is written that it is "Constructor of the module". But what does it mean? I know what a constructor of a class mean but what is a constructor of a module?