79507328

Date: 2025-03-13 18:41:10
Score: 1
Natty:
Report link

How can I make it so that I don't have to include both A.h and THandle.h in B.h?

No need to #include "A.h".

#include "THandle.h"

struct A;

class B {
  THandle<A> SomeAInstance;
};
Reasons:
  • Blacklisted phrase (0.5): How can I
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How can I
  • High reputation (-2):
Posted by: 3CxEZiVlQ