class without body?


What does it mean if there is a class without a body (Class A in the example)?

1
2
3
4
5
6
class A;

class Data1 : public Data2
{
....
}


Thanks for help.

Classes without bodies are known as forward declarations.
http://en.wikipedia.org/wiki/Forward_declaration
Topic archived. No new replies allowed.