I have recently come along a struct of this sort:
struct Context
{
Context(): addTitle(false) { }
bool addTitle;
std::string title;
};
It looked strange, especially the Context(): addTitle(false) { } part.
Can anyone please explain it for me.