79292617

Date: 2024-12-18 22:08:30
Score: 0.5
Natty:
Report link

However, I want to add an internal helper function to search the tree based on internal semantics and return a ...something?

Just return a raw pointer. Raw pointers are the canonical representation of a non-owning nullable reference, which is exactly what you want.

For reassurance, see the C++ Core Guidelines on this subject.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: Useless