I'm new to C++ and while I'm reviewing someone else's code, I ran into an expression I don't understand.
In the header file I have a normal class definition:
//in data.hpp
class DATA_C : public QThread
{
Q_OBJECT
// the rest of class definition...
}
A snippet of the source file:
//in data.cpp
class DATA_C data_container;
I can understand "DATA_C data", which is a declaration; but what is "class DATA_C data_container"? What does it do?
Thanks in advance.