Why won't the compiler let me forward declare a typedef?
Assuming it's impossible, what's the best practice for keeping my inclusion tree small?
You can do forward typedef. But to do
typedef A B;
you must first forward declare A:
A
class A; typedef A B;
2.1m questions
2.1m answers
60 comments
57.0k users