cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
class without body?
class without body?
Feb 19, 2014 at 4:16pm UTC
Sentinel
(13)
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.
Feb 19, 2014 at 5:00pm UTC
kevinkjt2000
(1063)
Classes without bodies are known as forward declarations.
http://en.wikipedia.org/wiki/Forward_declaration
Topic archived. No new replies allowed.