What are forward declarations in C++?
Answers
Answered by
0
In computer programming, a forward declaration is a declaration of an identifier (denoting an entity such as a type, a variable, or a function) for which the programmer has not yet given a complete definition.” In C++, you should forward declare classes instead of including headers.
Similar questions