I need help to understand usage well struct
I have this piece of code:
struct PCD
{
PointCloud::Ptr cloud;
std::string f_name;
PCD() : cloud (new PointCloud) {};
};
But I do not understand how this line is possible:
PCD() : cloud (new PointCloud) {};
or better, what is he doing? A structin struct?
Where can I find a good explanation?
source
share